method

merge_select_values

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Merger
merge_select_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 84
        def merge_select_values
          return if other.select_values.empty?

          if other.klass == relation.klass
            relation.select_values |= other.select_values
          else
            relation.select_values |= other.instance_eval do
              arel_columns(select_values)
            end
          end
        end
Register or log in to add new notes.