method
new
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Relation::HashMerger
new(relation, hash, rewhere = nil)public
No documentation available.
# File activerecord/lib/active_record/relation/merger.rb, line 10
def initialize(relation, hash, rewhere = nil)
hash.assert_valid_keys(*Relation::VALUE_METHODS)
@relation = relation
@hash = hash
@rewhere = rewhere
end