Creating a form for editing embedded documents with MongoMapper
- by Luke Francl
I'm playing around with MongoMapper but I'm having trouble figuring out how to create a form for an object that has embedded documents.
With ActiveRecord, I'd use fields_for but when asked if this would be supported a few months ago, MongoMapper author John Nunemaker wrote: "Nope and nope. It is really [not] that hard with attr_accessor's."
OK,…