Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v7.0.0) is shown here.
hash()
public
# File activerecord/lib/active_record/core.rb, line 590
def hash
id = self.id
if id
self.class.hash ^ id.hash
else
super
end
end