mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Whoops. _run_*_callbacks is private
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user