docs/index.txt
.. http://www.mongodb.org/display/DOCS/Ruby+Language+Center
.. _ruby-language-center:
*******************
Ruby MongoDB Driver
*******************
.. default-domain:: mongodb
Welcome to the documentation site for the official MongoDB Ruby driver.
You can add the driver to your application to work with MongoDB in
Ruby.
Get Started
===========
To get started with the Ruby driver, see :doc:`/installation` and
:doc:`/tutorials/quick-start`. Continue to :doc:`/tutorials`
for high level documentation for common operations.
BSON
====
The Ruby BSON implementation is packaged in a separate gem with C and
Java extensions for speed depending on the runtime environment.
For reference on the Ruby BSON gem, see the :doc:`/tutorials/bson`.
Object Mappers
==============
Because MongoDB is so easy to use, the basic Ruby driver can be the
best solution for many applications. But if you need validations,
associations, and other high-level data modeling functions, then you
may need Object Document Mapper.
In the context of a Rails application, an Object Document Mapper
provides functionality equivalent to, but distinct from, ActiveRecord.
Because MongoDB is a document-based database, these mappers are called
Object Document Mappers (ODM) as opposed to Object Relational Mappers
(ORM).
The ODM officially supported by MongoDB is Mongoid, originally written
by Durran Jordan.
For tutorials on Mongoid, see the `Mongoid Manual <https://mongodb.com/docs/mongoid/master>`_.
.. COMMENT For the actual build, see mongodb/docs-ruby repo which pulls the documentation source from:
.. mongo-ruby-driver,
.. bson-ruby, and
.. mongoid repos.
.. class:: hidden
.. toctree::
:titlesonly:
getting-started
tutorials
reference/connection-and-configuration
reference/working-with-data
reference/schema-operations
API <https://mongodb.com/docs/ruby-driver/current/api/>
release-notes
reference/additional-resources
contribute