changed database in database.yml to postgresql