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
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for 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