I have the following: cache_sweeper :shows_sweeper, :only => [ :destroy, :update, :publish ] def destroy Show.find( @params[ :id ] ).destroy redirect_to :action => ''list'' end in my controller. in the shows_sweeper I have: class ShowsSweeper < ActiveRecord::Observer observe Venue, Show def after_save( record ) @shows = record.is_a?( Show ) ? [ record ] : record.shows end def filter( controller ) @shows.each { |show| controller.expire_page( :controller => ''/shows'', :action => %w( view ), :id => show.id ) } end end but for destroy i get that @shows is nil and i''m not sure where i''m supposed to step in to set it. which callback does ShowsSweeper need to have to deal with ''destroy''. Thanks for the help. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails