instance method
eql?
Ruby on Rails 7.0.10
Since v7.0.10 Last seen in v7.0.10Signature
eql?(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activerecord/lib/active_record/associations/preloader/association.rb, line 15
def eql?(other)
association_key_name == other.association_key_name &&
scope.table_name == other.scope.table_name &&
scope.values_for_queries == other.scope.values_for_queries
end
Defined in activerecord/lib/active_record/associations/preloader/association.rb line 15
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Associations::Preloader::Association::LoaderQuery