Episodes
Single Table Inheritance
Play
8:33

Single Table Inheritance

#97 Sep 10, 2017 free
Learn to use single table inheritance to allow multiple classes to be stored in the same database table.

Grab Bag of Ruby and Ruby on Rails Tricks
Play
12:35 CC

Grab Bag of Ruby and Ruby on Rails Tricks

#158 Nov 4, 2018 free
In this episode, we look at various tips and tricks.

Polymorphic Associations
Play
10:31

Polymorphic Associations

#98 Sep 17, 2017 free
Advancing from Single Table Inheritance, learn how Polymorphic Associations differ and tricks to simplify their usage.

Deleting and Undeleting with Paranoia
Play
7:34

Deleting and Undeleting with Paranoia

#19 Oct 7, 2015 free
When your app is using Paranoia, calling destroy on an ActiveRecord object doesn't actually destroy the database record, but just hides it.

Counter Cache Associations
Play
3:54

Counter Cache Associations

#78 May 1, 2017 free
When displaying a count of records, this will generate extra SQL Queries. Learn how to reduce the number of SQL queries called with counter caching the number of associated records.