Parent Relationships and Turbo Frames

Episode #421 by Teacher's Avatar David Kimura

Summary

Without writing any javascript, we create a highly interactive parent navigation. We will use Turbo Frames to provide the highly interactive experience and build a parent-child relationship from scratch.
rails turbo model 23:32

Chapters

  • Introduction (0:00)
  • Creating the scaffold (1:34)
  • Setting up the controller (3:32)
  • Index view (9:02)
  • Setting up the form (15:14)
  • Updating the show page (17:45)
  • Updating the document partial (19:24)
  • Demo (21:07)
  • Final thoughts (22:31)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams