Skip to content
This repository

Machinist adapters for MongoDB ORMs.

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 machinist_mongo.gemspec

Machinist Mongo

It aims to replace machinist_mongomapper to provide Machinist adapters not just for MongoMapper but for all the others MongoDB ORMs too. Right now it supports Mongoid and MongoMapper, but we aim to support all mongoDB ORMs, so If you’re using something other than MongoMapper or Mongoid, please be sure to write a adapter for it.

For Rails 2

Current Machinist Mongo versions (1.2.x) are only compatible with Rails 3. Use 1.1.x versions to use Machinist Mongo with Rails 2.

NB: For old users, don’t use 2.0.0.pre, use 1.2.x instead.

For Machinist 2

There’s a machinist2 branch if you want to use Machinist Mongo with Machinist 2.


Using Machinist MongoMapper is simple. Put this in your Gemfile:

gem 'machinist_mongo', :require => 'machinist/mongoid' # or mongo_mapper

And run:

bundle install

And you’re all set. Be sure read Machinist’s README to find out how to create your objects and get this thing running.


Something went wrong with that request. Please try again.