Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How to integrate Ruby in rails with Mongodb?

user-image
Question ajoutée par amr abdelhafeez , Consultant , AlWalan Technology
Date de publication: 2013/11/17
Muhammad Umair
par 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
par 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