This project is archived and is in readonly mode.
counter_cache in separate table
Reported by Alexey Poimtsev | April 23rd, 2011 @ 12:30 AM
Hi,
It's not a problem, but possible feature request :)
is there any ability to work with counter_cache in separate table? Let me explain. I have following models - User, UserStatistics, Posts, Comments - everything standard for some blog. But i'd like to separate comments_count and posts_count from User and move to UserStatistics - on each create/destroy Post or Comment i'd like to update UserStatistics table.
Is there any standard way to do that?
No comments found
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
- Nobody is watching this ticket.