# Loading fixtures and counter\_cache

**URL:** <https://www.ruby-forum.com/t/loading-fixtures-and-counter-cache/152263>\
**Category:** Rails\
**Created:** [November 1, 2008, 12:12am UTC](https://www.ruby-forum.com/t/loading-fixtures-and-counter-cache/152263 "2008-11-01T00:12:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omid\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@Omid\_A](https://www.ruby-forum.com/u/Omid_A)\
**Post date:** [November 1, 2008, 12:12am UTC](https://www.ruby-forum.com/t/loading-fixtures-and-counter-cache/152263/1 "2008-11-01T00:12:29Z")

</div>

Hi everyone,

Does anybody know who is responsible for updating \*\_count columns  
(via :counter\_cache) when creating the db and loading fixtures? In my  
case, the \*\_count elements remain zero!

Thanks,  
Omid
