added postgres gem and changed database.yml