Zipping Files
Play
27:21

Zipping Files

#385 Jan 22, 2023 pro
In this episode, we have a look at three different methods of zipping Active Storage files and sending the zipped file to the end user. Each approach has its own benefits and the best approach will depend on your use case.

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.