method

hash

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Core
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) ] # => [ Person.find(1) ]
Show source
Register or log in to add new notes.