Changed database.yml to congfig with postgres.