Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking changes in mongoid 7 support commit #160

Open
babrovka opened this issue Jun 16, 2020 · 2 comments
Open

Breaking changes in mongoid 7 support commit #160

babrovka opened this issue Jun 16, 2020 · 2 comments

Comments

@babrovka
Copy link

Hi,

Unfortunately, there is breaking change in Add macro to support mongoid 7 commit.
Starting from this commit, mongoid 6.x starts to crash with uninitialized constant Mongoid::Association error, since it doesn't have this module.

If you would like, we can discuss way of fixing it, and I'll prepare PR

@grzegorz-jakubiak
Copy link
Collaborator

Sure! We should fix it I must've missed that when I was implementing it. Do you already have any ideas how to tackle this?

@boie0025
Copy link
Member

boie0025 commented Dec 4, 2023

I will have a look at this, association_primary_key method is apparently not present on the newer Mongoid::Association class [as well].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants