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