#98 Polymorphic Associations 9-17-2017

Advancing from Single Table Inheritance, learn how Polymorphic Associations differ and tricks to simplify their usage.
free rails model 4 Comments

#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.
free rails model 4 Comments

#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.
free rails model cache 3 Comments

#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!
free rails performance model 2 Comments

#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.
free rails view model 0 Comments