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.

Database Transactions
Play
9:47 CC

Database Transactions

#377 Nov 27, 2022 pro
Transactions are protective blocks where SQL statements are only permanent if they can all succeed as one atomic action. In this episode, we explore ActiveRecord Transactions and how to use them.

Active Storage Variants
Play
11:25 CC

Active Storage Variants

#376 Nov 20, 2022 pro
In this episode, we look at cleaning up our Active Storage variants and also look at several different use cases to manipulate the images with resizes, watermarks, format and quality.

Creating Embedded Iframes
Play
17:34 CC

Creating Embedded Iframes

#375 Nov 13, 2022 pro
Similar to Youtube embeds, we will look at creating embedded links to our application so that portions of the application can be embedded. However, there are a lot of security implications and should be done with caution.

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.