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

Active Record Tricks
Play
11:25

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.

Soft Delete with Discard
Play
6:53

Soft Delete with Discard

#249 Jul 5, 2020 free
Soft deletes for ActiveRecord done right.

Reputation Behavior with Merit
Play
15:30

Reputation Behavior with Merit

#219 Dec 8, 2019 pro
Merit adds reputation behavior to Rails apps in the form of Badges, Points, and Rankings.

ActiveRecord Callbacks
Play
12:26

ActiveRecord Callbacks

#148 Aug 26, 2018 pro
Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become harder to maintain over time. It is better to extract the responsibility and separate the logic.