Ruby on Rails : Callbacks V/S Observers
Observers ๐ง Observer lives longer.It can be attached & detached at any time.It is used when method is not directly associated to life cycle of Active Record objects.If you want to create observer with command-line you need to add gem first because without observer gem you couldnโt run any observer generator command so first add … Read more Ruby on Rails : Callbacks V/S Observers