method
new
v6.1.7.7 -
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|
Substitute === thing
}.map(&:last)
end