method
new
new(connection, logger = nil, pool = nil)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 89 def initialize(connection, logger = nil, pool = nil) #:nodoc: super() @connection = connection @in_use = false @instrumenter = ActiveSupport::Notifications.instrumenter @last_use = false @logger = logger @pool = pool @query_cache = Hash.new { |h,sql| h[sql] = {} } @query_cache_enabled = false @schema_cache = SchemaCache.new self @visitor = nil @prepared_statements = false end