Railscasts #23: Counter Cache Column

Posted in Development, Frameworks, Databases, Podcasts on April 29, 2007


Railscasts #23: Counter Cache Column

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

Watch Video Watch Video on External Site

Tags: Ruby, Ruby On Rails, Frameworks, Databases, Railscasts