fix code to set database adapter in database.yml