Expire cache in rake issue

I struggled with this problem the other night and managed to come up
with solution that allowed me to to use the code from my Sweeper instead
of duplicating it in rake. I wrote a blog entry explaining what I did
along with code samples.