Custom rails/mongoid relationship names not working
问题 I'm trying to get custom relationship names to work in Mongo. A "collage" is a BSON document filled with BSON fields that are Work Ids. Here's what's in the database for "collage": Collage.create(slide_one: client.work.first.id, slide_two: client.work.second.id, slide_three: client.work.third.id) So, a collage is mongo record full of work Ids. I'd like to be able to write @collage.work_one or @collage.slide_one.work_one, or @collage.slide_one.work to get to the Work I want. Custom naming