method
add_observer!
add_observer!(klass)
protected
Hide source
# File activerecord/lib/active_record/observer.rb, line 119 def add_observer!(klass) super define_callbacks klass if observe_callbacks? end