Skip to content

Instantly share code, notes, and snippets.

@J-Gull
Created August 4, 2011 04:18
Show Gist options
  • Save J-Gull/1124498 to your computer and use it in GitHub Desktop.
Save J-Gull/1124498 to your computer and use it in GitHub Desktop.
Mongo DB Rails 3.1
rails new appname --skip-active-record
gem 'mongo_mapper'
gem 'bson_ext'
$ bundle
[...]
$ rails g mongo_mapper:config
$ rails g mongo_mapper:model MyModel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment