Counter Cache Associations
Play
3:54 CC

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.

Eager Loading with Goldiloader
Play
3:09 CC

Eager Loading with Goldiloader

#30 May 23, 2016 free
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!

Deleting and Undeleting with Paranoia
Play
7:34 CC

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.

Annotate
Play
2:56 CC

Annotate

#11 Aug 7, 2015 free
With strong params replacing attr_accessible, a difficulty has arisen with referencing to the structure of your models. With annotate, we can generate the structure of our models in the comments of our models.

Florrick
Play
6:28 CC

Florrick

#5 Jul 24, 2015 free
This is a Rails library which integrates with Active Records and provides some awesome user-initiated string interpolations for your web apps. For example, have you ever needed to allow users to insert their own variables into e-mail templates or messages?