setting database.yml and figaro