On Oct 11, 1:36 pm, golubevpavel <[email protected]> wrote: > This is not about query caching, but about having only one instance of > the object within a session. > Say, Post.find(1) and User.find(1).posts.detect{|it| it.id == 1} would > return you different objects.
...at the cost of a huge amount of overhead: every object ever touched in the session would have to be cached, if I understand you correctly. > Ideal identity map would fix that problem. Or maybe just punt to something like MagLev. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

