instance method
checkout_new_connection
Ruby on Rails 3.2.22.5
Since v2.2.3 PrivateSignature
checkout_new_connection()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 322
def checkout_new_connection
raise ConnectionNotEstablished unless @automatic_reconnect
c = new_connection
c.pool = self
@connections << c
c
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb line 322
· View on GitHub
· Improve this page
· Find usages on GitHub