Counter Culture
Play
14:02 CC

Counter Culture

#435 Dec 31, 2023 pro
The provided ActiveRecord counter caching mechanism provides some great basic functionality, but quickly becomes insufficient if you need more complex totaling or summing of records. In this episode, we'll look at implementing the counter_culture gem to gain extra functionality.

Rails Organization
Play
19:12 CC

Rails Organization

#430 Nov 26, 2023 pro
In this episode, we look at refactoring a model with a few different approaches; modules, classes and concerns. We'll explore each implementation and when I'd use one over the other.

readonly?
Play
9:43 CC

readonly?

#426 Oct 29, 2023 pro
In this episode, we look at making records read-only and also creating an override functionality where we can force the record to save. We'll also look at error handling when a record update is made to a read-only record.

Parent Relationships and Turbo Frames
Play
23:32 CC

Parent Relationships and Turbo Frames

#421 Sep 24, 2023 pro
Without writing any javascript, we create a highly interactive parent navigation. We will use Turbo Frames to provide the highly interactive experience and build a parent-child relationship from scratch.

Academic Discount
Play
14:19 CC

Academic Discount

#410 Jul 16, 2023 pro
Are you searching for an efficient way to implement academic discounts on your web application? In this episode, we'll explore a subtle yet effective method for verifying academic email addresses, while also providing override options to ensure your organization retains full control.