Optimistic Locking
Play
9:15 CC

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.

Active Record Tricks
Play
11:25 CC

Active Record Tricks

#347 May 1, 2022 free
In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and single table inheritance.

Multiple Databases
Play
12:33 CC

Multiple Databases

#353 Jun 12, 2022 pro
As an application grows in popularity and usage you'll need to scale the application to support your new users and their data. One way in which your application may need to scale is on the database level. In this episode, we look at reading from a replica database while writing to a primary database. We also look at structuring our application top support multiple databases; each containing their own schema.

Easy Deployments
Play
31:57 CC

Easy Deployments

#354 Jun 19, 2022 pro
I often create Rails projects and while some of these applications are fairly simple, deployment to a production environment still requires a lot of infrastructure setup. In this episode, we take a look at creating a Rails project template and being able to deploy it to a production environment within minutes.

File Uploads and Cloud Storage
Play
15:48 CC

File Uploads and Cloud Storage

#356 Jul 3, 2022 free
AWS S3 has been a reliable service over the years and for a long time it was the only option. However, in the past few years, there has been more cloud storage options that have popped up with compatible S3 APIs. These services can sometimes offer better pricing and speeds.