method

merge_single_values

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Merger
merge_single_values() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.