small medium large xlarge

 

Task-B-ValidationAndUnitTesting

The method validates_length_of (described on page 369) checks the length of a model attribute. Add validation to the product model to check that the title is at least 10 characters long. Discuss


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

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