mongoid/mongoid — comment on commit 66d345c82feaae538421b481041d6e4223386c10
File:  line 0
By chris12295:

What about something like:

post.to_json(:include => {:author => {:include => :achievments}});

to do nested includes?