Demystifying the Asset Pipeline
Play
19:47 CC

Demystifying the Asset Pipeline

#387 Feb 5, 2023 free
The asset pipeline can be confusing. So, in this episode, we explore Sprockets and the movement towards Propshaft, a new Rails library for managing assets. We'll also have a look at some nuances with jsbundling and how to overcome 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.

Stimulus Outlets API
Play
13:57 CC

Stimulus Outlets API

#378 Dec 4, 2022 free
Outlets let you reference Stimulus controller instances and their controller element from within another Stimulus Controller by using CSS selectors. In this episode, we look at a simple example and then refactoring some older code where we used some workarounds to communicate with other stimulus controllers.

Infrastructure Migration
Play
14:09 CC

Infrastructure Migration

#374 Nov 6, 2022 free
For various reasons, we may decide to move our services off of one platform onto another. This could be due to pricing, uptime or other reasons. In this episode, we look at migrating a Ruby on Rails application and database from Heroku to Fly.

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.