-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
I would expect that caliing destroy on a document which includes Mongoid::Paranoia would perform a soft delete and run callbacks. But actually it performs a hard delete. In fact, the Mongoid::Paranoia module doesn't touch destroy.
Is this a bug or expected behaviour? If it's a bug, I could provide a patch. If not, what is the correct way of doing a soft delete and getting callbacks to run?