Registry / database / mongoid

mongoid

JSON →
library9.1.0rbrubygemsunverified

Mongoid is an ODM (Object Document Mapper) Framework for MongoDB, written in Ruby.

gem install mongoid
INSTALL
IMPORT
SIG · MONGOID
M
mongoid
databaserubyv9.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mongoid
require 'mongoid'

Configure Mongoid and define a document model.

require 'mongoid' Mongoid.load!('mongoid.yml', :development) class User include Mongoid::Document field :name, type: String end
Debug
Known issues
breakingMongoid 9.x requires MongoDB server 5.0+ and Ruby 3.0+.
fix
Upgrade MongoDB and Ruby to meet version requirements.
affects: >= 9.0.0
Upgrade
Version history
9.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
mongoid — gem install mongoid · libregistry