changed database.yml to use postgresql