Install and use mongoDB with Rails in Ubuntu

MongoDB is a scalable, high-performance, document-oriented schemaless database. In this post I describe how to install MongoDB in ubuntu 12.04 and how to use mongobd with rails. Followings are the steps to install MongoDB 1. Add GPG Key sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10 2. Edit your source.list sudo gedit /etc/apt/sources.list and add this…

Read more...

Setting MySQL database to Rails Application

MySQL is an open-source relational database management system. In this post I’m going to explain to use MySQL database to rails project. Install MySQL database if you do not have installed MySQL databse to your system.When you create new rails project with following command, it will add SQLite gem to the Gemfile, which is for…

Read more...