method
deprecated_callback_method
v3.0.0 -
Show latest stable
- Class:
ActiveRecord::Callbacks
deprecated_callback_method(symbol)public
No documentation available.
# File activerecord/lib/active_record/callbacks.rb, line 267
def deprecated_callback_method(symbol) #:nodoc:
if respond_to?(symbol, true)
ActiveSupport::Deprecation.warn("Overwriting #{symbol} in your models has been deprecated, please use Base##{symbol} :method_name instead")
send(symbol)
end
end