method
structurally_incompatible_values_for
rails latest stable - Class:
ActiveRecord::QueryMethods
structurally_incompatible_values_for(other)private
No documentation available.
# File activerecord/lib/active_record/relation/query_methods.rb, line 2036
def structurally_incompatible_values_for(other)
values = other.values
STRUCTURAL_VALUE_METHODS.reject do |method|
v1, v2 = @values[method], values[method]
if v1.is_a?(Array)
next true unless v2.is_a?(Array)
v1 = v1.uniq
v2 = v2.uniq
end
v1 == v2
end
end