Forum: Ruby on Rails Are associations cached with MemoryStore?

Cabf735ce7b8b4471ef46ea54f71832d?d=identicon&s=25 Michael Mahemoff (Guest)
on 2011-12-30 13:30
(Received via mailing list)
Having trouble with MemoryStore cache. I store an object with

post = Post.find_by_id(id), :includes => :tags
Post.cache.write(key, post)

When I retrieve this, the model is certainly
there, but the SQL dump indicates the associations (tags) still loaded
from the database. Anyone know how I can store and retrieve the
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.