Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

Join us at AWS re:Invent 2024! Learn how to use MongoDB for AI use cases.
MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

Ruby

plus Follow
Sign in to follow topics
An interpreted, high-level, general-purpose programming language which supports multiple programming paradigms. Very popular for web development.

Featured

Quickstart

Building Rails Applications With the MongoDB Template

Out of the box, Rails integrates with a traditional relational database, but this can easily be changed to use MongoDB. The instructions are in our getting started guide. However, if you simply want to create a fully functional application, you can use the MongoDB Rails template, as explained in this tutorial....
MongoDB thumbnail image
MongoDBRuby

Aug 26, 2024 | 4 min read
Joel Lord
Tutorial

Integrating Atlas Search in a Ruby on Rails Application

MongoDB thumbnail image

Aug 12, 2024 | 5 min read
Tutorial

Getting Started with MongoDB Atlas and Ruby on Rails

MongoDB thumbnail image

Dec 11, 2023 | 6 min read
All Ruby Content
search
  • Latest
  • Highest Rated
Article

MongoDB ORMs, ODMs, and Libraries

MongoDB has ORMs, ODMs, and Libraries to simplify interactions between your app and cluster. Use the best database for Ruby, Python, Java, Node.js, PHP.
MongoDB ODMs, ORMs, and Libraries

Aug 28, 2024
Alex Bevilacqua
Article

TableCheck: Empowering Restaurants With Best-in-Class Booking Tools Powered by MongoDB

TableCheck's CTO Johnny Shields shares their experience with the MongoDB Ruby ODM (mongoid) and how they streamline their development processes.
MongoDB thumbnail image

Aug 28, 2024
Alex Bevilacqua
Quickstart

Building Rails Applications With the MongoDB Template

Out of the box, Rails integrates with a traditional relational database, but this can easily be changed to use MongoDB. The instructions are in our getting started guide. However, if you simply want to create a fully functional application, you can use the MongoDB Rails template, as explained in this tutorial.
MongoDB thumbnail image

Aug 26, 2024
Joel Lord
Tutorial

Integrating Atlas Search in a Ruby on Rails Application

Learn how to add Atlas Search to your Ruby on Rails application in this tutorial from Humberto Diaz.
MongoDB thumbnail image

Aug 12, 2024
Humberto Diaz
Tutorial

Calling the MongoDB Atlas Administration API: How to Do it from Node, Python, and Ruby

Learn how to use digest authentication for the MongoDB Atlas Administration API from Python, Node.js, and Ruby.
MongoDB thumbnail image

Jun 18, 2024
DJ Walker (+1)
Tutorial

Getting Started with MongoDB Atlas and Ruby on Rails

A tutorial showing how to get started with MongoDB Atlas and Ruby on Rails using the Mongoid driver
MongoDB thumbnail image

Dec 11, 2023
Luce Carter
Video

How to build a Ruby on Rails web app that talks to MongoDB

✅ Sign-up for a free cluster at → https://mdb.link/free-NHezylU9Cw8 ✅ Get help on our Community Forums → https://mdb.link/community-NHezylU9Cw8 In this video, you will learn how to create a Ruby on Rails application that talks to MongoDB Atlas, in under 15 minutes, using the Mongoid gem. By the end of it, you will have a working application that you can build upon to take advantage of the benefits of MongoDB Atlas! 📚 RESOURCES 📚 GitHub Repo → https://mdb.link/railsandatlasexample Written Tutorial → https://mdb.link/railswithatlastutorial Install Ruby → https://mdb.link/installingruby Install Rails → https://mdb.link/installing-rails Get Connection String from Atlas → https://mdb.link/gettingconnectionstring Companion Code → https://mdb.link/railsandmongodbcompanioncode 💬 Connect with Luce: Twitter: https://twitter.com/lucecarter1 ⏱️ Timestamps ⏱️ 00:00 - Intro 00:34 - Pre-requisites 01:25 - Create the project 02:26 - Adding and configuring Mongoid 06:19 - Creating our Idea endpoint ------ ✅ Subscribe to our channel → https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Nov 17, 2023
Article

Why Use MongoDB with Ruby

Find out what makes MongoDB a great fit for your next Ruby on Rails application!
MongoDB thumbnail image

Jun 09, 2023
Alex Bevilacqua
News & Announcements

A Plan for MongoDB and JRuby

MongoDB supports JRuby
JRuby logo

Jun 09, 2023