instance method
new_connection
Ruby on Rails 3.2.22.5
Since v2.2.3 Last seen in v7.1.6 PrivateSignature
new_connection()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 314
def new_connection
ActiveRecord::Base.send(spec.adapter_method, spec.config)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb line 314
· View on GitHub
· Improve this page
· Find usages on GitHub