Mongoid is the officially supported ODM (Object-Document-Mapper) framework for MongoDB in Ruby. This Mongoid community organization is a group of open-source contributors around the Mongoid ODM not affiliated with the company, MongoDB. Mongoid is customarily configured through a mongoid.yml file that specifies options and clients. The simplest configuration is as follows, which configures Mongoid to talk to a MongoDB server at “localhost:27017” and use the database named “mongoid”. If you are not using Ruby on Rails, Mongoid configuration must be loaded manually. This can be done via the Mongoid.load! method, which takes the configuration file path as its argument. It is also possible to configure Mongoid directly in Ruby, without using a configuration file. This configuration style does not support the concept of environments - whatever configuration is provided, it is applied to the current environment, but it does support defining multiple clients.

Features

  • Mongoid is an ODM (Object-Document Mapper) framework for MongoDB in Ruby
  • Mongoid has extensive user documentation
  • API documentation is also available
  • Mongoid is built on top of the MongoDB Ruby driver which has its own user documentation
  • Mongoid supports and is tested against MRI 2.5-3.0, JRuby 9.2 and MongoDB server 2.6-4.4
  • Please use the MONGOID project in MongoDB JIRA to report issues with Mongoid

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Mongoid

Mongoid Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mongoid!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Frameworks

Registered

2022-02-11