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