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