method
new_connection
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
new_connection()private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 760
def new_connection
Base.send(spec.adapter_method, spec.config).tap do |conn|
conn.schema_cache = schema_cache.dup if schema_cache
end
end