Embedded objects should return their parents' collections
SFEley opened this issue · comments
> t = Thingy.new
> t.whatsit = Widget.new
>t.whatsit.collection # => 'Widget'
This is wrong. The collection should be Thingy.
Transparent persistence for MongoDB
SFEley opened this issue · comments
> t = Thingy.new
> t.whatsit = Widget.new
>t.whatsit.collection # => 'Widget'
This is wrong. The collection should be Thingy.