class ActiveRecord::Relation::Merger
def merge_single_values
def merge_single_values relation.lock_value ||= other.lock_value if other.lock_value unless other.create_with_value.blank? relation.create_with_value = (relation.create_with_value || {}).merge(other.create_with_value) end end