Module 5: Advanced Rails: DRY, Associations, and Authentication
Module 5 Overview Video Reading: Textbook Chapter 5All of the material in this module corresponds to Chapter 5 of the ESaaS textbook — the chapter PDF is linked at the top of this page and on the Textbook page. Watch each section’s video, read the matching section of the textbook, then complete the self-check on Gradescope.
Module 5 Self-Check
After finishing the videos and readings, complete the Module 5 Self-Check on Gradescope.
Sections
| Section | Watch | Read |
|---|---|---|
| 5.1 DRYing Out MVC: Partials, Validations and Filters | Video | §5.1 |
| 5.1.1 Composing Queries with Reusable Scopes | Video | §5.1.1 |
| 5.2 Single Sign-On and Third-Party Authentication | Video | §5.2 |
| 5.3 CHIPS: Rails Intro (not yet released) | — | Assignment |
| 5.4 Associations and Foreign Keys | Video | §5.4 |
| 5.5 Through-Associations | Video | §5.5 |
| 5.6 RESTful Routes for Associations | Video | §5.6 |
| 5.7 CHIPS: Associations (not yet released) | — | Assignment |
| 5.8 Other Types of Code | Video | §5.8 |
Additional textbook readings
These sections have no videos, but are part of the assigned reading:
- §5.0 Concepts and Prerequisites
- §5.9 Fallacies and Pitfalls
- §5.10 Concluding Remarks: Languages, Productivity, and Beauty