Zipping Files
Play
27:21 CC

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 CC

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 CC

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 CC

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.

Roles from Scratch
Play
15:11 CC

Roles from Scratch

#352 Jun 5, 2022 free
In this episode, we look at different authorization approaches from the most simple to more complex scenarios.