method
with_connection
v2.3.8 -
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.