Mongomatic: Easily model your MongoDB documents
Mongomatic is a Ruby library that lets you easily model your MongoDB documents in your applications.
The primary design goals of Mongomatic are simplicity and adherence to MongoDB conventions. Mongomatic is not an ActiveRecord clone and has been designed to fit nicely with the document-oriented nature of MongoDB.
Features include cursors, hash access to your document and embedded documents, validations, callbacks and conventions for creating indexes and relationships.
Comments
Why should I use Mongomatic instead of, let’s say, Mongoid?
You’d consider using Mongomatic if you want an object mapper that’s really simple and lightweight without all the fluff. There’s a good writeup on what makes Mongomatic different over at the changelog.
Post a comment