class ActiveRecord::Relation::HashMerger
def initialize(relation, hash, rewhere = nil)
def initialize(relation, hash, rewhere = nil) hash.assert_valid_keys(*Relation::VALUE_METHODS) @relation = relation @hash = hash @rewhere = rewhere end
def initialize(relation, hash, rewhere = nil) hash.assert_valid_keys(*Relation::VALUE_METHODS) @relation = relation @hash = hash @rewhere = rewhere end