do you have this line in the controller too? cache_sweeper => <name_of_sweeper>
On Jul 16, 5:40 pm, phil <p...@philsmy.com> wrote: > I just can't figure this out. > > I have this in my Players controller: > caches_action :show, :layout => false > > I have a sweeper (that is getting called) that does this: > expire_action(:controller => :players, :action => :show, :id => > player) > > But this does not expire the cache - the element is still there and > getting served. > > I have tried with memcache and file_store. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---