an Ruby on Rails exercise app (validations)