Module 5: Advanced Rails: DRY, Associations, and Authentication

Module 5 Overview Video Reading: Textbook Chapter 5

All of the material in this module corresponds to Chapter 5 of the ESaaS textbook — the free PDF is linked on the Resources 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. Self-checks are short, count toward your grade, and allow unlimited attempts — you need to get every question right, so keep trying until you do.

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

Back to Top

Accessibility Nondiscrimination

Copyright ©2026, Regents of the University of California and respective authors.

This site is built following the Berkeley Class Site template, which is generously based on the Just the Class, and Just the Docs templates.

View all course offerings