small medium large xlarge

 

Task-B-ValidationAndUnitTesting

Activity 1

The validation option :length checks the length of a model attribute. Add validation to the product model to check that the title is at least ten characters long. Discuss

Activity 2

Change the error message associated with one of your validations. Discuss

Page History
  • V6: Sam Ruby [over 5 years ago]
  • V5: Sam Ruby [over 5 years ago]
  • V4: Andrew de Andrade [almost 6 years ago]
  • V3: Andrew de Andrade [almost 6 years ago]
  • V2: Andrew de Andrade [almost 6 years ago]
  • V1: Andrew de Andrade [almost 6 years ago]