method
with_connection
v2.2.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
with_connection()public
Reserve a connection, and yield it to a block. Ensure the connection is checked back in when finished.