On 27 Dec 2008, at 19:14, baaz wrote:

> If my interpretation is correct, (1) above violates the Identity Map
> feature of DataMapper (it should be true) but I might be missing a
> point. Could anyone shed a light on whether this is a bug or a
> feature?

Have you tried running this inside a repository block? The identity  
map will only work inside a repository block. This is mainly due to  
the fact that there is no proper weakref implementation in Ruby.

-- 
Regards,

Dirkjan Bussink

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

Reply via email to