search for: expire_view

Displaying 1 result from an estimated 1 matches for "expire_view".

2006 Mar 09
0
Caching problem: expire_page not working
...def index # do the stuff that index does end end I''ve got a sweeper running in a different controller ("admin") which expires view::index when changes are made to the underlying data. The following line of codes in the sweeper don''t seem to work: def expire_view(model) model.logger.info("Expiring the cached index") expire_page(:controller => "view", :action => "index") end Rather, I should say that "Expiring the cached index" is being logged properly, but the page isn''t being expired. Am I...