instance method structurally_incompatible_values_for

Ruby on Rails edge

Since v6.1.7.10 Private — implementation detail, not part of the public API

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.4 v8.0.5.1 v8.1.4 edge

Signature

structurally_incompatible_values_for(other)

No documentation comment.

Parameters

other req
Source
# File activerecord/lib/active_record/relation/query_methods.rb, line 2639
      def structurally_incompatible_values_for(other)
        values = other.values

        # A value set on neither relation can't differ, so only the values set
        # on either one are compared. When one differs, every incompatible
        # value is collected, in order, for the error message.
        if structurally_incompatible_key?(@values, values) || structurally_incompatible_key?(values, values)
          STRUCTURAL_VALUE_METHODS.select { |method| structurally_incompatible_value?(method, values) }
        else
          []
        end
      end

Defined in activerecord/lib/active_record/relation/query_methods.rb line 2639 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::QueryMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close