ruby - Rails replacement for observers -


i have rails app keeps extensive audit trail (history) on many of primary models. used observers in rails 3 , 4 (using external gems) no longer working in rails 5. not sure if problem external gems or code seemed time review code , maybe refactor using current best practices.

i've been reading various articles , there many different views on implementation. i've researched model concerns, pub/sub, explicit calls in controllers, etc.

any insight , pros/cons of various methods appreciated.

thanks.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -