Action Auth
Play
23:13 CC

Action Auth

#437 Jan 14, 2024 pro
With Rails 7.1 came a bunch of new features around token generation and with this release, I've been working on a new authentication solution that provides the basic requirements of authentication out of the box, but also has advanced features like Passkeys that are easy to implement and use.

Kamal in GitHub Actions
Play
31:01 CC

Kamal in GitHub Actions

#425 Oct 22, 2023 pro
Kamal is a great utility for deploying your application to a server. It can handle many different kinds of use cases. However, there is some disconnect on how to use it within a CI/CD pipeline. In this episode, we'll look at deploying a Rails 7.1 application with SQLite to a virtual machine using Kamal within GitHub Actions.

Solid Cache
Play
10:31 CC

Solid Cache

#424 Oct 15, 2023 pro
Solid Cache is a database-backed Active Support cache store implementation. Using SQL databases backed by SSDs we can have caches that are much larger and cheaper than traditional memory only Redis or Memcached backed caches. In this episode, we'll explore adding Solid Cache into our application and some things to be aware of.

Strict Locals
Play
9:10 CC

Strict Locals

#388 Feb 12, 2023 pro
Ruby on Rails 7.1 introduces Required Template Arguments w/ Default Values, or Strict Locals. This solves the issue of difficult to reason about dependencies & runtime compilations. In this episode, we look at how Strict Locals can improve the overall maintainability of our Rails partials.

generates_token_for
Play
7:55 CC

generates_token_for

#380 Dec 18, 2022 pro
In Rails 7.1, we're going to get a new feature that will allow us to generate tokens for attributes. With generates_token_for, a token can embed data from a record. When using the token to fetch the record, the data from the token and the data from the record will be compared.