Navigation
This version of the documentation is archived and no longer supported.

Mongoid

Mongoid is the officially supported ODM (Object-Document-Mapper) framework for MongoDB in Ruby.

For documentation on Mongoid 3 and 4, see http://mongoid.github.io.

Additional Mappers

In addition to Mongoid, several other mappers are available:

All the mappers build on top of the basic Ruby driver and so some knowledge of that is useful, especially if you work with a custom MongoDB configuration.

Installation  →