Hello Xavier,

This bug should be fixed in master now, could you verify that this does work 
with latest code on master? 

-- 
Regards,

Dirkjan Bussink

On 9 Nov 2010, at 12:23, Xavier (DBIYF) wrote:

> Hello,
> I am trying to fix some N+1 problems in an app. I would expect the
> identity map to fix this for me but it does not seem to be the case.
> 
> Here is a minimal script demonstrating the problem, and what I expected
> the output to be:
> https://gist.github.com/668930
> 
> It seems that although the objects do indeed get loaded from the
> identity map, redundant queries are still sent to the database. Why is
> this the case?
> 
> Cheers,
> Xavier
> 
> -- 
> 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.
> 

-- 
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