RailsCasts
Ryan Bates
Add to My Podcasts
Episodes
About
Reviews
Charts
Promote
Show notes
If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.
Listen Instead
Switch to Audio
Refresh video
Previous
#22 Eager Loading
Next
#24 The Stack Trace
← See all 346 episodes of RailsCasts
Privacy Manager