class ActiveRecord::ConnectionAdapters::ConnectionHandler
def clear_active_connections!
and also returns connections to the pool cached by threads that are no
Returns any connections in use by the current thread back to the pool,
def clear_active_connections! connection_pool_list.each(&:release_connection) end