instance method
checkout_new_connection
Ruby on Rails 4.1.16
Since v2.2.3 PrivateSignature
checkout_new_connection()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 442
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 442
· View on GitHub
· Improve this page
· Find usages on GitHub