Task A: Product Maintenance

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

Add the product price to the output of the list action. Discuss

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License