MongoMapper

Awesome gem for modeling your domain and storing it in mongo.

Releases are tagged on github and released on gemcutter. Master is pushed to whenever I add a patch or a new feature, but I do not release a new gem version each time I push.

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself in another branch so I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Install

MongoMapper is only released on gemcutter. To install, you can setup gemcutter as your default gem source.

$ gem install gemcutter
$ gem tumble

Then you can install MM:

$ gem install mongo_mapper

You can also just declare the source:

$ gem install mongo_mapper -s http://gemcutter.org

Dependencies

  • ActiveSupport (typically the latest version)

  • Mongo Ruby Driver (mongo)

  • My fork of the validatable gem (jnunemaker-validatable)

Documentation

rdoc.info/projects/jnunemaker/mongomapper

More Info

You can learn more about mongo here: www.mongodb.org/

You can learn more about the mongo ruby driver here: github.com/mongodb/mongo-ruby-driver/tree/master

Copyright © 2009 John Nunemaker. See LICENSE for details.