diff options
author | Michael Koziarski <michael@koziarski.com> | 2009-10-15 11:21:53 +1300 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-10-15 11:21:53 +1300 |
commit | d5d242660c6f772548366cf2440b70d2ceca8b46 (patch) | |
tree | ddbd06c436dc875e8b0cc12baa2f81e83eb5c5eb /activerecord/lib | |
parent | 3de8b44b26ecb64dc73661deb8dde1c5de92b496 (diff) | |
download | rails-d5d242660c6f772548366cf2440b70d2ceca8b46.tar.gz rails-d5d242660c6f772548366cf2440b70d2ceca8b46.tar.bz2 rails-d5d242660c6f772548366cf2440b70d2ceca8b46.zip |
Avoid warning spam by flipping to the new callbacks mechanism. These callbacks are actually never called by rails itself, merely there for plugins
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index cdf0aebfee..694e1e561c 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -32,7 +32,7 @@ module ActiveRecord class AbstractAdapter include Quoting, DatabaseStatements, SchemaStatements include QueryCache - include ActiveSupport::DeprecatedCallbacks + include ActiveSupport::Callbacks define_callbacks :checkout, :checkin @@row_even = true |