Displaying 1 result from an estimated 1 matches for "stevencum".
Did you mean:
stevench
2010 Sep 08
0
Re: Call expire_fragment from outside sweepers or controllers
...stions?
I had exactly the same problem and managed to come up with a solution
(albeit with a couple of limitations). My solution involves keeping all
the code in the Sweeper and calling it via a class method, so it should
work anywhere. See my blog entry for an explanation and the code.
http://stevencummings.name/2010/09/07/expire_fragment-with-rake-and-as-a-model-only-observer
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA3...