aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-12-30 11:43:34 +0100
committerCarl Lerche <carllerche@mac.com>2009-12-30 13:40:37 -0800
commitcb3c0d490b7e8ac867068ccec6bbeb09a6a04b7d (patch)
tree5cdb0262dcea0e52b800434179e6307878c8399a /activerecord/lib/active_record/callbacks.rb
parenta6e2d16b1ef1fbde28325f0e0e2b8855d6a7606c (diff)
downloadrails-cb3c0d490b7e8ac867068ccec6bbeb09a6a04b7d.tar.gz
rails-cb3c0d490b7e8ac867068ccec6bbeb09a6a04b7d.tar.bz2
rails-cb3c0d490b7e8ac867068ccec6bbeb09a6a04b7d.zip
Get rid of DeprecatedCallbacks in ActiveRecord::Associations and finally remove it.
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rw-r--r--activerecord/lib/active_record/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb
index e1d772bd95..e2a8f03c8f 100644
--- a/activerecord/lib/active_record/callbacks.rb
+++ b/activerecord/lib/active_record/callbacks.rb
@@ -274,7 +274,7 @@ module ActiveRecord
def deprecated_callback_method(symbol) #:nodoc:
if respond_to?(symbol)
- ActiveSupport::Deprecation.warn("Base##{symbol} has been deprecated, please use Base.#{symbol} :method instead")
+ ActiveSupport::Deprecation.warn("Overwriting #{symbol} in your models has been deprecated, please use Base##{symbol} :method_name instead")
send(symbol)
end
end