Cache_fu and sweepers

If I have something like Foo.cached( :bar ) where in I run a
expensive finder, how can I use a sweeper to expire my cache ?
I’m trying to use reset_cache but probably I didn’t get how it works …
Someone has an example on hand ?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs