Re: Object caching

javier ramirez
Fri, 17 Aug 2007 22:57:06 -0000

Hi again,

Sorry about that, but my prior email was completely messed up. I really
don''t know how i got the idea of a per-model last query cache (maybe an
old rails version? not sure of that), but truth is AR doesn''t cache
like
that.

There is a cache for the associations, so if you have a variable with a,
for example, has_many and you call on the association, only the first
time you use it is the query to be launched.

Sorry once again about the misleading,

javier