Method: ActiveRecord::ConnectionAdapters::PoolConfig#pool

Defined in:
activerecord/lib/active_record/connection_adapters/pool_config.rb

#poolObject



65
66
67
# File 'activerecord/lib/active_record/connection_adapters/pool_config.rb', line 65

def pool
  @pool || synchronize { @pool ||= ConnectionAdapters::ConnectionPool.new(self) }
end