class ActiveRecord::StatementCache::PartialQuery

def initialize(values)

:nodoc:
def initialize(values)
  @values = values
  @indexes = values.each_with_index.find_all { |thing, i|
    Substitute === thing
  }.map(&:last)
end