Class: ActiveRecord::ConnectionAdapters::NullPool

Inherits:
Object
  • Object
show all
Includes:
AbstractPool
Defined in:
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb

Overview

:nodoc:

Defined Under Namespace

Classes: NullConfig

Constant Summary collapse

NULL_CONFIG =

:nodoc:

NullConfig.new

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AbstractPool

#get_schema_cache, #lazily_set_schema_cache, #set_schema_cache

Instance Attribute Details

#schema_cacheObject

Returns the value of attribute schema_cache



41
42
43
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 41

def schema_cache
  @schema_cache
end

Instance Method Details

#async_executorObject



46
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 46

def async_executor; end

#checkin(_) ⇒ Object



44
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 44

def checkin(_); end

#connection_classObject



43
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 43

def connection_class; end

#db_configObject



47
48
49
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 47

def db_config
  NULL_CONFIG
end

#remove(_) ⇒ Object



45
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb', line 45

def remove(_); end