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 actually works pretty well for me in 2.3.8:
class AudiObserver < ActiveRecord::Observer observe :'ActiveRecord::Base' # # observe methods... # end