Active Storage Validators
Play
14:25 CC

Active Storage Validators

#399 Apr 30, 2023 pro
Validation of files that are uploaded can provide a better user experience as it sets the expectations of what kinds of files, their sizes and if they're even required. In this episode, we'll look at creating different types of validators for Active Storage.

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.

Email Tracking
Play
15:11 CC

Email Tracking

#407 Jun 25, 2023 pro
In this episode, we take a user privacy focused approach to tracking emails for unique opens and view counts. We'll look at how we can track these emails without invading the user's privacy and get meaningful metrics.

Rails Routes
Play
14:45 CC

Rails Routes

#328 Dec 19, 2021 pro
Routing in Rails is small but an important part of our applications. The Rails router recognizes URLs and dispatches them to a controller's action, or to a Rack application. It can also generate paths and URLs, avoiding the need to hardcode strings in your views.

Gem in a Box
Play
13:11 CC

Gem in a Box

#289 Mar 28, 2021 pro
There's many benefits to running your own cache and proxy for Ruby gems. In this episode, we look at provisioning, configuring our system and projects to use a Gem in a Box instance.