method
add_observer!
add_observer!(klass)
protected
Hide source
# File activerecord/lib/active_record/observer.rb, line 176 def add_observer!(klass) klass.add_observer(self) klass.class_eval 'def after_find() end' unless klass.respond_to?(:after_find) end