-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Object#_to_inc_ is a kernel monkey patch used only in the #inc and #mul atomic methods.
This PR removes the monkey patch and inlines its code to the two places it is used. The logic is covered by existing specs, so no new specs needed.
PR raised: https://github.com/mongodb/mongoid/pull/5709