• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Code The Dream School
Code the Dream Labs Logo

Code The Dream School

Main hub for class materials for Code the Dream’s classes

  • Code the Dream Home

Search Code The Dream School

Back End 2 – Week 3

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.

Footer

Copyright © 2025 Code the Dream School | All Rights Reserved | Privacy Policy