Nested Forms with Cocoon
Play
4:40 CC

Nested Forms with Cocoon

#71 Mar 12, 2017 free
Using the unobtrusive gem, Cocoon, learn how to handle multiple models in a single form with accepts_nested_attributes_for.

Javascript Select Form Fields with Chosen
Play
6:40 CC

Javascript Select Form Fields with Chosen

#76 Apr 16, 2017 free
Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. Learn how to use Chosen in a few different ways in this episode; Rails form builder and Simple Form.

Importmaps in Rails 7
Play
8:14 CC

Importmaps in Rails 7

#312 Sep 5, 2021 free
Import maps let you import JavaScript modules using logical names that map to versioned/digested files – directly from the browser. This will be a default in the upcoming Rails 7.

Hotwire Introduction
Play
23:56 CC

Hotwire Introduction

#369 Oct 2, 2022 free
Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them.

Custom Turbo Stream Actions
Play
15:20 CC

Custom Turbo Stream Actions

#382 Jan 1, 2023 free
With the release of Turbo 7.2, we gained the ability to create custom actions in Turbo. This allows us to trigger functions on the client side that would have been difficult or cumbersome to do in the past. In this episode, we look at setting up custom actions and how to use them.