right conditions database.yml