Episodes
Searching Multiple Models
Play
19:34

Searching Multiple Models

#370 Oct 9, 2022 pro
In this episode, we look at creating a simple and maintainable way to search multiple models. As our application grows and the needs change, other avenues can be explored, but it's important to not prematurely optimize things before they're actually required.

Partial Inserts
Play
5:37

Partial Inserts

#360 Jul 31, 2022 pro
Parsing through the Ruby on Rails CHANGELOG can reveal some interesting features and changes in the framework. In this episode, we look at one of those changes around inserting records into our database.

Current Attributes
Play
14:53

Current Attributes

#357 Jul 10, 2022 pro
Abstract super class that provides a thread-isolated attributes singleton, which resets automatically before and after each request. This allows you to keep all the per-request attributes easily available to the whole system.

Discussing Race Conditions
Play
12:38

Discussing Race Conditions

#348 May 8, 2022 pro
In this episode, we have a look at some causes of race conditions and go about some ways to troubleshoot and mitigate them.

Active Record Encryption
Play
11:11

Active Record Encryption

#346 Apr 24, 2022 pro
Active Record supports application-level encryption. The encryption layer sits between the database and the application. The application will access unencrypted data, but the database will store it encrypted. In this episode, we look at implementing encryption for a model's attribute and Action Text.