问题
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/
回答1:
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
来源:https://stackoverflow.com/questions/2076130/does-mongomapper-or-any-other-mongodb-adapter-have-a-method-like-accepts-nest