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.
Change the error message associated with one of my validations
Merge pull request #6 from hxx/Playtime-Task-B

Playtime task b