activeadmin-mongoid icon indicating copy to clipboard operation
activeadmin-mongoid copied to clipboard

Breaking changes in mongoid 7 support commit

Open babrovka opened this issue 5 years ago • 2 comments

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

babrovka avatar Jun 16 '20 17:06 babrovka

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?

grzegorz-jakubiak avatar Jun 19 '20 15:06 grzegorz-jakubiak

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

boie0025 avatar Dec 04 '23 20:12 boie0025