I am using paper_trail
for undo/redo functionality in my site and am having a problem when I call reify.save
on a version
in that on save
and new PaperTrail::Version
gets created.
Is there a way to turn off PaperTrail during the saving of a reified object?
I understand that PaperTrail.enabled = false
is possible, but I don't want other changes being made a the same time to not be recorded.
My ideal solution would be something along the lines of:
PaperTrail.disable { version.reify.save }