There are several issues for this problem on GitHub: 613 815 and 900.
There are several issues for this problem on GitHub: #613, #815 and #900. Mongoid v2.2.0 has been released yesterday, but still doesn't include the patch from #900. So there's no simple way to do this.
Depending on your use case, lazy loading might already be enough: class Post include Mongoid::Document embedded_in :person, :inverse_of => :post # This won't work yet. # # after_build :init # # def init # @xyz = person. Xyz # end def xyz @xyz ||= person.
Xyz end def do_something xyz. Do_some_magic end end.
Thanks for the workaround, I haven't tried the lazy loading yet, I think I'll wait for #900. – rm-rf Aug 29 '11 at 13:44.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.