method
new
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::StatementPool
new(statement_limit = nil)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/statement_pool.rb, line 10
def initialize(statement_limit = nil)
@cache = Hash.new { |h, pid| h[pid] = {} }
@statement_limit = statement_limit || DEFAULT_STATEMENT_LIMIT
end