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