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


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