Viacheslav Bobrov
Viacheslav Bobrov
Hi, Unfortunately, there is breaking change in [Add macro to support mongoid 7](https://github.com/activeadmin/activeadmin-mongoid/commit/3e6b8d84a56bea408165b6e23f6f6c303f6cdbc2) commit. Starting from this commit, mongoid 6.x starts to crash with `uninitialized constant Mongoid::Association` error, since it...
Is there any solutions to have polymorphic relations in the model? For example: class Photo belongs_to :article belongs_to :event end /articles/:id/photos/:id /event/:id/photos/:id And have such methods for querying photos: Photo.where(article_id:...
For example, we have two models: User ans Post Post belongs_to :user User has_many :posts I want to have custom endpoint in User model that returns his signed posts, if...