I have around 40 models in my RoR application. I want to setup a after_save callback for all models. One way is to add it to all models. Since this callback has the same cod
This seemed to work for me:
ActiveRecord::Base.after_save do ... end
Is there a problem I'm not seeing?