Hi! I need to cache an overview page that lists the latest events (messages, documents, etc). By the side of each event I show the user who created it (including the user's avatar). I have tried to use a cache this with the cache_key of the page that holds the contents. In the belongs_to method of each event I added :touch => true so the page get updated when something changes.
This works great until someone changes it's personal information or avatar image. So the problem is, how do I invalidate the cache when an association gets updated? Cheers, Fredrik Martenson -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.