method
new_connection
new_connection()
private
Hide source
# 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