method

merge_select_values

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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 86
        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.