Details
-
Bug
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.com/ruby-driver/master/tutorials/6.0.0/mongoid-relations/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0
*Referrer*: https://docs.mongodb.com/ruby-driver/master/mongoid/
*Screen Resolution*: 1280 x 800
Description
The doc only suggests adding a Mongoid::Attributes::Dynamic, but it would be nice if instead of just that, the doc also suggested to add a field `my_relations_counter` to the associated model so we don't have to include `Mongoid::Attributes::Dynamic`