Episodes
Optimistic Locking
Play
9:15

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.

Dynamic Select Forms with Hotwire
Play
21:50

Dynamic Select Forms with Hotwire

#325 Nov 28, 2021 pro
Using StimulusJS and Turbo, we are able to dynamically update select input with content based on another select input. This allows for a seamless user experience while having a configurable and maintainable backend.

Materialized Views in PostgreSQL
Play
13:43

Materialized Views in PostgreSQL

#324 Nov 21, 2021 pro
Using Scenic, you can bring the power of SQL views to your Rails application without having to switch your schema format to SQL. Scenic provides a convention for versioning views that keeps your migration history consistent and reversible and avoids having to duplicate SQL strings across migrations.

Fixing Assets in CSS Bundling for Rails
Play
15:30

Fixing Assets in CSS Bundling for Rails

#323 Nov 14, 2021 pro
CSS Bundling for Rails provides a new way for importing and managing our CSS assets in Rails Applications, but it does have some challenges around a few libraries (specifically font awesome and a few others) which we'll look at in this episode.

Authentication with Sorcery
Play
15:23

Authentication with Sorcery

#321 Oct 31, 2021 pro
Sorcery is a stripped-down, bare-bones authentication library, with which you can write your own authentication flow. In this episode we look at creating the controllers and views for a simple authentication solution.