Welcome to the third week of Back End 2. In this unit, we will learn:
- Validation | Error handling | Flash alerts | Byebug
- Automated application testing with Rspec
Curriculum
This is your curriculum for Back End II Week 3,
3.6 Rails Validation and Error Handling
3.7 Rails Testing with Rspec
Assignment
The starter workspace for your assignment is here. You will also use this workspace in Week 4.
You will add validations to your model, as well as handling errors with appropriate messages to the user. You will also practice the use of a debugging tool called byebug.
For the second part of your assignment, add Rspec testing to your customer-order application as described in the slides.