method
merge_single_values
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Relation::Merger
merge_single_values()private
No documentation available.
# File activerecord/lib/active_record/relation/merger.rb, line 158
def merge_single_values
relation.from_value = other.from_value unless relation.from_value
relation.lock_value = other.lock_value unless relation.lock_value
unless other.create_with_value.blank?
relation.create_with_value = (relation.create_with_value || {}).merge(other.create_with_value)
end
end