Used new syntax of database.yml and update the rails version 3.2.12