Using MongoDB as a logging database with a Rails 3 application

Databases,nosql 5 January 2011 | 0 Comments

Here is a great article on the MongoDB site that explains how to setup Rails 3 to work with MongoDB with very little effort! Essentially this means doing the following things. Create a new Rails 3 application issuing the –skip-active-record switch rails new my_app –skip-active-record Add the following line to include mongo_mapper to your gemfile [...]

Tagged in , , ,

Install MongoDB and load dummy logging data using MongoMapper

Databases,nosql,Ruby Server Programming 3 January 2011 | 0 Comments

It turns out to be very easy to install Mongo DB on Ubuntu, so I will not go into detail too much here. If you follow these instructions then MongoDB will start after the installation completes and you can try it out at the console as follows (Note: The first command will fire up the [...]

Tagged in , , ,