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

Learn why MongoDB was selected as a leader in the 2024 Gartner® Magic Quadrant™
MongoDB Developer
Ruby
plus
Sign in to follow topics
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right
Languages
chevron-right
Ruby
chevron-right

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

13 min • Published Nov 17, 2023
Ruby
Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
✅ 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/subscribeAll MongoDB Videos

Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
Related
News & Announcements

A Plan for MongoDB and JRuby


Jun 23, 2022 | 2 min read
Tutorial

Getting Started with MongoDB Atlas and Ruby on Rails


Dec 11, 2023 | 6 min read
Quickstart

Building Rails Applications With the MongoDB Template


Aug 26, 2024 | 4 min read
Article

Why Use MongoDB with Ruby


Oct 07, 2022 | 4 min read