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.

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.

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.

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.

Building a Questionnaire
Play
24:08 CC

Building a Questionnaire

#294 May 2, 2021 free
Using StimulusJS and nested forms, we create the first parts of a questionnaire. Dynamic surveys can be difficult to architect and maintain. In this episode, we take a simple approach to creating questionnaires.