diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-12 22:15:43 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-12 22:15:43 -0500 |
commit | 21e7b8462113fc7c0fd1882dcc2bf7225de67b1a (patch) | |
tree | 81350780f50b8378aec99210d956bba3dda635f7 /activerecord/lib/active_record/associations | |
parent | 9bc8defe38253840ceb9c4ad92e7c3abc0066ed8 (diff) | |
download | rails-21e7b8462113fc7c0fd1882dcc2bf7225de67b1a.tar.gz rails-21e7b8462113fc7c0fd1882dcc2bf7225de67b1a.tar.bz2 rails-21e7b8462113fc7c0fd1882dcc2bf7225de67b1a.zip |
Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/association_collection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/association_collection.rb b/activerecord/lib/active_record/associations/association_collection.rb index 1b7bf42b91..25e329c0c1 100644 --- a/activerecord/lib/active_record/associations/association_collection.rb +++ b/activerecord/lib/active_record/associations/association_collection.rb @@ -476,7 +476,7 @@ module ActiveRecord def callback(method, record) callbacks_for(method).each do |callback| - ActiveSupport::Callbacks::Callback.new(method, callback, record).call(@owner, record) + ActiveSupport::DeprecatedCallbacks::Callback.new(method, callback, record).call(@owner, record) end end |