#78 Counter Cache Associations 2017-05-01

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

#30 Eager Loading with Goldiloader 2016-05-23

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!
3
rails performance model 0 Comments 3:90 min

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

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

#11 Annotate 2015-08-07

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.
0
rails model documentation 0 Comments 2:56 min

#5 Florrick 2015-07-24

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?
2
rails model strings 0 Comments 6:28 min