Generating a User model
Updated after rake command to migrate
Testing for the :name and :email attributes
Validating the presence of a name attribute
Commenting out a validation to ensure a failing test
A failing test for validation of the name attribute
Uncommenting out a validation to ensure a passing test
Add test for presence of the email attribute
Add validation for the presence of the email attributes
Add test for name length validation
Adding a length validation for the name attribute
Add tests for email format validation
Validating the email format with a regular expression
Add test for the rejection of duplicate email addresses
Validating the uniqueness of email addresses
Add test for the rejection of duplicate email addresses, insensitive to case
Validating the uniqueness of email addresses, ignoring case
Add migration for enforcing email uniqueness
Update schema after migration to enforcing email uniqueness
Ensuring email uniqueness by downcasing the email attribute