method
new
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::StatementCache::PartialQuery
new(values)public
No documentation available.
# File activerecord/lib/active_record/statement_cache.rb, line 44
def initialize(values)
@values = values
@indexes = values.each_with_index.find_all { |thing, i|
Arel::Nodes::BindParam === thing
}.map(&:last)
end