• 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

Rails: A Summary Lesson

In the lessons up to now, you have learned about routes, resources, models, views, controllers, and Active Record associations. In this lesson, you are asked to enhance the blog application with a new model for order objects that has a belongs_to association with customer objects. The specifications for your assignment are in the slides. You will add the routes for CRUD operations on Active Record instances of this model. You will add a controller to process the CRUD web requests. You will add views and partials to list, show, create, and update order records. You will add rspec tests to check that your code works as expected.

The assignment is described in these slides: Full Assignment.

All of the concepts required to complete the assignment have been presented up to now, with a couple of small exceptions explained in the slides. The idea is to verify that you can use these concepts more or less on your own, but it’s not a test so people can work together. And, of course, ask any questions you have via slack or in your sessions with mentors.

Please remember to push your work to github.

Footer

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