diff options
author | wycats <wycats@gmail.com> | 2010-06-04 10:03:28 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-06-04 20:11:05 -0700 |
commit | a260e02fd3e967d2d6b602aa3bd15f952d4e45cc (patch) | |
tree | 7a570101da60c932f83fc88e023096136d9b70ba /activerecord | |
parent | 67a2d648d88f8520612fd7b01fcc7223290aac75 (diff) | |
download | rails-a260e02fd3e967d2d6b602aa3bd15f952d4e45cc.tar.gz rails-a260e02fd3e967d2d6b602aa3bd15f952d4e45cc.tar.bz2 rails-a260e02fd3e967d2d6b602aa3bd15f952d4e45cc.zip |
Whoops. _run_*_callbacks is private
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb index dfc76fcae7..454d3e60e3 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb @@ -211,7 +211,7 @@ module ActiveRecord # calling +checkout+ on this pool. def checkin(conn) @connection_mutex.synchronize do - conn._run_checkin_callbacks do + conn.send(:_run_checkin_callbacks) do @checked_out.delete conn @queue.signal end |