method
checkout_for_maintenance
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
checkout_for_maintenance(conn)private
Directly check a specific connection out of the pool. Skips callbacks.
The connection must later either #return_from_maintenance or #remove_from_maintenance, or the pool will hang.