search for: pragmaticsweeper

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

2006 Apr 08
2
trouble expiring cached pages
I''m having a bear of a time getting my cached pages to expire. Maybe one of you guys can help me out. I''ll show my sweeper and then my log to show that it "should" be working. class PragmaticSweeper < ActionController::Caching::Sweeper observe Comment def after_save(comment) expire_page(comment.post_id) end private def expire_page(post_id) logger.error("I made it to the caching method in the SWEEPER!!!!!!") expire_action(:controller => ''pragmatic...