mongoid/mongoid — Issue #1369: delete on habtm relation no longer working in 2.3.x
Author: coderifous
Created: 2011-10-21 15:21:05+00:00
State: open

Please see the test here:
https://gist.github.com/1304035

We were upgrading from Mongoid 2.2.3 to 2.3.2 and some of our tests were failing. The test above is a simple reproduction of what we're seeing.

We are suspicious of this change:
https://github.com/mongoid/mongoid/commit/76d8692e5e0cec511c934f9f7afa15024e796f58#L35L83