> I have tried using Cron but it doesn''t work with cache and it only
works
> with a Model''s methods. Anyone have a recommendation on how to do
this?
>
Hmm... what type of caching do you use?
I use fragment caching, and each model clears its own cache items
whenever it receives an update of data shown in one type of cache or
another. The ''show'' cache is always invalidated, the other
four cached
views depend on whether the data for that view was changed or not.
Shouldn''t be difficult to adapt that to a method called when a model
instance is ''deleted and stored'', depending on how your
caching is
setup.
--
Posted via http://www.ruby-forum.com/.