Make sure to have a postgres adapter in database.yml