# #23 Counter Cache Column

> Episode of [RailsCasts](https://podistic.com/podcast/railscasts.md) · Published April 25, 2007 · Duration 7:18

- **Listen on Podistic:** https://podistic.com/episode/23-counter-cache-column
- **Video:** http://media.railscasts.com/assets/episodes/videos/023-counter-cache-column.mp4 (video/mp4)

## About this episode

If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.
