MongoDB Ruby Driver
On this page
- Introduction
- Get Started
- Connect to MongoDB
- Databases and Collections
- Read Data from MongoDB
- Write Data to MongoDB
- Configure Operations on Replica Sets
- Optimize Queries by Using Indexes
- Monitor Your Application
- Transform Your Data with Aggregation
- Secure Your Data
- Specialized Data Formats
- What's New
- Upgrade Driver Versions
- Compatibility
- Issues & Help
- Developer Hub
Introduction
Welcome to the documentation site for the MongoDB Ruby Driver, the official MongoDB driver for Ruby applications.
Get Started
Learn how to install the driver, establish a connection to MongoDB, and begin working with data in the Get Started with the Ruby Driver tutorial.
Connect to MongoDB
Learn how to create and configure a connection to a MongoDB deployment in the Connect to MongoDB section.
Databases and Collections
Learn how to use the Ruby driver to work with MongoDB databases and collections in the Databases and Collections section.
Read Data from MongoDB
Learn how you can retrieve data from MongoDB in the Read Data from MongoDB section.
Write Data to MongoDB
Learn how you can write data to MongoDB in the Write Data to MongoDB section.
Configure Operations on Replica Sets
Learn how to configure read and write operations on a replica set in the CRUD Operations on Replica Sets section.
Optimize Queries by Using Indexes
Learn how to work with common types of indexes in the Optimize Queries by Using Indexes section.
Monitor Your Application
Learn how to monitor change events in the Monitor Your Application section.
Transform Your Data with Aggregation
Learn how to use the Ruby driver to perform aggregation operations in the Transform Your Data with Aggregation section.
Secure Your Data
Learn how to authenticate your application and encrypt your data in the Security section.
Specialized Data Formats
Learn how to work with specialized data formats and custom types in the Data Formats section.
What's New
For a list of new features and changes in each version, see the What's New section.
Upgrade Driver Versions
Learn what changes you must make to your application to upgrade driver versions in the Upgrade Driver Versions section.
Compatibility
To learn about the versions of the MongoDB Server and the Ruby language that are compatible with each version of the Ruby driver, see the Compatibility section.
Issues & Help
Learn how to report bugs, contribute to the driver, and find more resources for asking questions and receiving help in the Issues & Help section.
Developer Hub
The Developer Hub provides tutorials and social engagement for developers.
To ask questions and engage in discussions with fellow developers who use the Ruby driver, see the forums page.