method
new
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::AbstractAdapter
new(connection, logger = nil, pool = nil)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 101
def initialize(connection, logger = nil, pool = nil) #:nodoc:
super()
@connection = connection
@owner = nil
@instrumenter = ActiveSupport::Notifications.instrumenter
@logger = logger
@pool = pool
@schema_cache = SchemaCache.new self
@visitor = nil
@prepared_statements = false
end