activeadmin-mongoid
activeadmin-mongoid copied to clipboard
Breaking changes in mongoid 7 support commit
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
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?
I will have a look at this, association_primary_key method is apparently not present on the newer Mongoid::Association class [as well].