method
method_added
v3.0.0 -
Show latest stable
- Class:
ActiveRecord::Observer
method_added(method)public
No documentation available.
# File activerecord/lib/active_record/observer.rb, line 100
def self.method_added(method)
method = method.to_sym
if ActiveRecord::Callbacks::CALLBACKS.include?(method)
self.observed_methods += [method]
self.observed_methods.freeze
end
end