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