Determine relation name to _parent from embedded object

27 views
Skip to first unread message

Benjamin

unread,
Jul 23, 2015, 2:48:07 PM7/23/15
to Mongoid
I'm writing a module which gets mixed in to an embedded document, and I need to determine the name of the relation to the _parent. After digging around the docs and source, I can't figure out how to do this nicely. Is there a way to do with relations?
Reply all
Reply to author
Forward
0 new messages