Forum: Ruby on Rails Are associations cached with MemoryStore?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
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
This topic is locked and can not be replied to.