We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mongoid 是在 rails 中结合 mongodb 数据库使用,类似 ActiveRecord 那样,提供 orm 支持的一个 gem. 使用它可以很方便地操作数据库中的数据。
官方文档 http://mongoid.org/en/mongoid/index.html
railscasts 上的讲解 http://railscasts.com/episodes/238-mongoid
ruby china 使用了 mongodb + mongoid 它的源码也是很好的参考 https://github.com/ruby-china/ruby-china