Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to integrate Ruby in rails with Mongodb?

user-image
Question added by amr abdelhafeez , Consultant , AlWalan Technology
Date Posted: 2013/11/17
Muhammad Umair
by Muhammad Umair , Ruby on Rails Developer , Eritheia Labs

'Mongoid' gem is used for mongodb integration. After 'bundle', a file named 'mongodb.yml' is created which is similar to 'database.yml'.  

Hafiz Abdur Rehman
by Hafiz Abdur Rehman , Full Stack Developer , PwC - Australia

It depends upon the rails version of your application. Usually the best available option is Mongoid gem. 

MongoDB Ruby driver is the officially supported Ruby driver for MongoDB. It’s written in pure Ruby and is optimized for simplicity. It can be used on its own, but it also serves as the basis of several object mapping libraries, such as Mongoid

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.