Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does MongoMapper (or any other Mongodb adapter) have a method like "accepts_nested_attributes_for"?

I'm considering using mongodb on a new project, but before delving in, I'd like to know if it supports some key features. I know you don't need migrations, and you can add embedded objects,...but does all that mean it also behaves as if the 'accepts_nested_attributes_for' method is always there?

Do you know of any other killer features that I should be aware of that would sway me for or against MongoDB?

Here's a recent article I'm aware of, and that others may also be interested in:

http://railstips.org/blog/archives/2009/12/18/why-i-think-mongo-is-to-databases-what-rails-was-to-frameworks/

like image 904
btelles Avatar asked Nov 06 '22 17:11

btelles


1 Answers

Looks like the mongomapper guy is working on a solution to this:

http://groups.google.com/group/mongomapper/browse_thread/thread/e92c35f6e2302687/b9f0860ac83d9b4e?lnk=gst&q=nested#b9f0860ac83d9b4e

http://gist.github.com/275594

like image 103
btelles Avatar answered Nov 12 '22 11:11

btelles