-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The #destroy! (bang) method takes options = {} as an arg, but does not pass them to #destroy (non-bang). This looks unintentional.
The PR adds spec coverage for #delete, #destroy, and #destroy! :persist and :suppress options.
PR raised here: https://github.com/mongodb/mongoid/pull/5552