method

hash

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveResource::Base
hash() public

Delegates to id in order to allow two resources of the same type and id to work with something like:

[(a = Person.find 1), (b = Person.find 2)] & [(c = Person.find 1), (d = Person.find 4)] # => [a]
Show source
Register or log in to add new notes.