mongodb on rails via mongo_record in 4 steps

This is not an amazing task for most, but it im sharing it anyway because thats how I roll.

It is easy to get mongodb on rails using mongo_record in four tasks:

  1. create/generate a schema.rb file.
  2. install the mongo_record plugin
  3. edit the database.yml file.
  4. edit each model to connect to the mongodb.