Permalink
Browse files

Avoid warning spam by flipping to the new callbacks mechanism. These …

…callbacks are actually never called by rails itself, merely there for plugins
  • Loading branch information...
1 parent 3de8b44 commit d5d242660c6f772548366cf2440b70d2ceca8b46 @NZKoz NZKoz committed Oct 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -32,7 +32,7 @@ module ConnectionAdapters # :nodoc:
class AbstractAdapter
include Quoting, DatabaseStatements, SchemaStatements
include QueryCache
- include ActiveSupport::DeprecatedCallbacks
+ include ActiveSupport::Callbacks
define_callbacks :checkout, :checkin
@@row_even = true

0 comments on commit d5d2426

Please sign in to comment.