Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class PeopleController < ApplicationController
cache_sweeper :person_sweeper, :only => [:create, :update, :destroy] ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.