class ActiveRecord::Base
Public Class Methods
pool(columns:, query: self, table: self.arel_table, size: ActiveRecord::Pool::DEFAULT_SIZE, serializer: ActiveRecord::Pool::DEFAULT_SERIALIZER, &iteration)
click to toggle source
# File lib/active_record/base_extension.rb, line 3 def self.pool(columns:, query: self, table: self.arel_table, size: ActiveRecord::Pool::DEFAULT_SIZE, serializer: ActiveRecord::Pool::DEFAULT_SERIALIZER, &iteration) ActiveRecord::Pool.new(columns: columns, query: query, table: table, size: size, serializer: serializer, model: self, &iteration) end