Rails + MongoMapper + EmbeddedDocument form help
- by Bob Martens
I am working on a pretty simple web application (famous last words) and am working with Rails 2.3.5 + MongoMapper 0.7.2 and using embedded documents. I have two questions to ask:
First, are there any example applications out there using Rails + MongoMapper + EmbeddedDocument? Preferably on GitHub or some other similar site so that I can take a look at the source and see where I am supposed to head? If not ...
... what is the best way to approach this task? How would I go about creating a form to handle an embedded document.
What I am attempting to do is add addresses to users. I can toss up the two models in question if you would like.
Thanks for the help!