.. _ruby-mongoid-tutorial:

=======
Mongoid
=======

.. default-domain:: mongodb

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

.. toctree::
   :titlesonly:

   /tutorials/mongoid-installation
   /tutorials/mongoid-documents
   /tutorials/mongoid-persistence
   /tutorials/mongoid-queries
   /tutorials/mongoid-relations
   /tutorials/mongoid-nested-attributes
   /tutorials/mongoid-callbacks
   /tutorials/mongoid-validation
   /tutorials/mongoid-indexes
   /tutorials/mongoid-rails
   /tutorials/mongoid-upgrade


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

Additional Mappers
------------------

In addition to Mongoid, several other mappers are available:

- `MongoMapper <http://mongomapper.com/>`_ from John Nunemaker

- `MongoODM <https://github.com/carlosparamio/mongo_odm>`_ from Carlos Paramio

- `DriverAPILayer <http://alexeypetrushin.github.com/mongodb/driver.html>`_ from Alexey Petrushin

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.

.. _ruby-mongoid-tutorial:

=======
Mongoid
=======

.. default-domain:: mongodb

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

.. toctree::
   :titlesonly:

   /tutorials/mongoid-installation
   /tutorials/mongoid-documents
   /tutorials/mongoid-persistence
   /tutorials/mongoid-queries
   /tutorials/mongoid-relations
   /tutorials/mongoid-nested-attributes
   /tutorials/mongoid-callbacks
   /tutorials/mongoid-validation
   /tutorials/mongoid-indexes
   /tutorials/mongoid-rails
   /tutorials/mongoid-upgrade
   API <https://docs.mongodb.com/mongoid/6.1/api>


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

Additional Mappers
------------------

In addition to Mongoid, several other mappers are available:

- `MongoMapper <http://mongomapper.com/>`_ from John Nunemaker

- `MongoODM <https://github.com/carlosparamio/mongo_odm>`_ from Carlos Paramio

- `DriverAPILayer <http://alexeypetrushin.github.com/mongodb/driver.html>`_ from Alexey Petrushin

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.

Add link to 6.1 API docs
Add link to 6.1 API docs
