I found that the methods MongoRecord::Base::has_many and ::has_one
disalow the target class to have ::Subobject among it's ancestors. This
has had me wondering what use Subobjects actually are, and how to use
them. I think I may have a use-case for it, where a model holds an array
of hashes, basically mini-objects with the same properties in hash form.
I guess Subobjects represent embedded document collections somehow, I'm
just not clear on how to use them, as the documentation on them is
rather scarce.
Could anyone come up with a short example?