#23 Counter Cache Column

Published: April 25, 2007, 7 a.m.

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