instance method
==
Ruby on Rails 8.0.4
Since v8.0.4Available in: v8.0.4 v8.1.2
Signature
==(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activerecord/lib/active_record/result.rb, line 58
def ==(other)
if other.is_a?(Hash)
to_hash == other
else
super
end
end
Defined in activerecord/lib/active_record/result.rb line 58
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Result::IndexedRow