Cache_fu and sweepers

If I have something like Foo.cached( :bar ) where in Foo.bar I run a
very
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 ?

TIA,
ngw

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