Dynamic Select Fields
Play
13:26 CC

Dynamic Select Fields

#133 May 13, 2018 pro
Making one select field dependent on another and automatically update based on the previous selection can be a tricky task. In this episode, we look an a rather unobtrusive way to handle this for many scenarios.

Slim Select with Stimulus
Play
13:25 CC

Slim Select with Stimulus

#308 Aug 8, 2021 pro
Using Stimulus and Slim Select, we can get performant results quickly and efficiently.

Saving Attributes with Hotwire
Play
20:10 CC

Saving Attributes with Hotwire

#373 Oct 30, 2022 pro
With Hotwire, we can create form where each input field is saved once a user has changed its value. We look at some of the common issues that you could run into when using Hotwire and some ways to mitigate those problems.

Inline Editing with Turbo
Play
10:32 CC

Inline Editing with Turbo

#381 Dec 25, 2022 pro
Using Turbo, we can create an interactive inline editing feature without writing any Javascript. In this episode, we look at some of the nuances with Turbo Streams and handling form errors.

Optimistic Locking
Play
9:15 CC

Optimistic Locking

#327 Dec 12, 2021 pro
Optimistic Locking is a feature to prevent collision when two users are editing the same record. In this episode, we look at adding this feature into a Rails 7 application that is using Turbo.