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