Flowdock
method

merge_single_values

Importance_0
v4.2.7 - 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 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
Register or log in to add new notes.