I am currently using a cache_sweeper to “listen” for changes and make
keep an audit trail of the events. The trouble I am having is in one
of my methods in the controller, create, it creates a group (the model
that is observed by the sweeper) and then adds the first user to the
group. The problem with that, is it the creates 2 events (an edit, and
a create). I am wondering if there is a way to turn the sweeper off
partway though the method (after the save but before the member is
added) or if I can turn it of for a block of code.
Any help is much appreciated!