On Jun 16, 12:13 am, David Lee <[EMAIL PROTECTED]> wrote:
> I thought this was already implemented, but I guess not:
>
> User[1].object_id == User[1].object_id #=> false (should be true)

No, it shouldn't.  This isn't DataMapper, we don't use an identity
map.  It should always be true that:

  User[1] === User[1]
  User[1].hash == User[1].hash

and usually that:

  User[1] == User[1]
  User[1].sql?(User[1])

Assuming the database hasn't been modified be the meantime.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to sequel-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to