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