Episodes
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.

Null Object Pattern
Play
16:36

Null Object Pattern

#345 Apr 17, 2022 pro
The Null Object Pattern is an old but good pattern that can help reduce complexity in our applications. In this episode, we'll look at a few different examples.

Optimistic Locking
Play
9:15

Optimistic Locking

#327 Dec 12, 2021 pro
Optimistic Locking is a feature to prevent collision when two users are editing the same record. In this episode, we look at adding this feature into a Rails 7 application that is using Turbo.

Dynamic Role Management
Play
17:31

Dynamic Role Management

#247 Jun 21, 2020 pro
Create dynamic roles that can be assigned to users. Based on the assigned role, the user will be able to perform or view various parts of the application.