Update from mongoid 6.4.0 to 8.1: has_many broken? #6048
Unanswered
DcsMarionDickten
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'll just post the broken code. It worked in Rails 5.2 with Mongoid 6.4 but doesn't in Rails 6.2 with Mongoid 8.1.
Participations snippet:
The has_many has broken when upgrading to Mongoid 7.4 and is still broken in 8.1. I can still get the participations by asking
so it's not too bad although I would like to fix it properly.
Can anybody point me to what is wrong?
Beta Was this translation helpful? Give feedback.
All reactions