My understanding of the Mongolian source is not the best, so do not kick me in too tough mods.
I assume Mongoid is similar to ActiveRecord in this regard. In ActiveRecord, the definition :has_many does not modify the parent, but includes methods for accessing the child. belongs_to , on the other hand, pulls out foreign key management methods.
Looking at the source code for Mongoid, it seems that persistence is called from the inline class to the parent, and not vice versa ( source ). Removing embedded_in will remove additional methods for inserting the child into the parent.
Feel free to correct me if I am leaving :)
source share