Episodes

#98 Polymorphic Associations 9-17-2017

Advancing from Single Table Inheritance, learn how Polymorphic Associations differ and tricks to simplify their usage.
6
rails model 1 Comment 10:31 min

#97 Single Table Inheritance 9-10-2017

Learn to use single table inheritance to allow multiple classes to be stored in the same database table.
14
rails model 4 Comments 8:33 min

#78 Counter Cache Associations 5-1-2017

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.
3
rails model cache 3 Comments 3:54 min

#30 Eager Loading with Goldiloader 5-23-2016

Wouldn't it be awesome if ActiveRecord didn't make you think about eager loading and it just did the "right" thing by default? With Goldiloader it can!
4
rails performance model 2 Comments 3:09 min

#19 Deleting and Undeleting with Paranoia 10-7-2015

When your app is using Paranoia, calling destroy on an ActiveRecord object doesn't actually destroy the database record, but just hides it.
2
rails view model 0 Comments 7:34 min