开发者

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

开发者 https://www.devze.com 2022-12-17 01:37 出处:网络
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 d

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/


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

0

精彩评论

暂无评论...
验证码 换一张
取 消