Replies: 3 comments 2 replies
-
Thank you for reporting this! I've added a ticket in our tracking system; you can follow it here if you'd like: https://jira.mongodb.org/browse/MONGOID-5685 |
Beta Was this translation helpful? Give feedback.
-
I just took a look at this, and your example works for me (doesn't raise an exception) in Mongoid 7.5.4. Can you try updating to 7.5.4 and seeing if it works for you there? |
Beta Was this translation helpful? Give feedback.
-
I'm going to go ahead and close this for now; but if the issue can be duplicated with Mongoid 7.5.4, please feel free to reopen and let us know. 👍 |
Beta Was this translation helpful? Give feedback.
-
Raises an error:
NoMethodError: undefined method `nullify' for #<User _id: 640084c257f2fc7f67cf1862
relation.nullify
^^^^^^^^
/lib/mongoid/association/depending.rb:110:in `_dependent_nullify!'
mongoid-7.5.3
Beta Was this translation helpful? Give feedback.
All reactions