instance method
new_connection
Ruby on Rails 3.0.20
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 228
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 228
· View on GitHub
· Improve this page
· Find usages on GitHub