Rails with MongoDB (Mongoid)

If we want to use Mongoid we do not need ActiveRecord, so we could create an app like this:
 rails new SuperApp –skip-active-record 

The following gems are needed

# Mongo DB
gem ‘mongoid’
gem ‘bsonext’

The bsonext gem is used for faster bson conversion.
Mongoid Documentation

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *