hash()
public
Delegates to id in order to allow two records of the same type and id to
work with something like:
[ Person.find(1), Person.find(2), Person.find(3) ] & [ Person.find(1), Person.find(4) ]
# File activerecord/lib/active_record/core.rb, line 300
def hash
id.hash
end