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-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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