This project is archived and is in readonly mode.

#1211 ✓committed
Trevor Turk

reset_counter_cache

Reported by Trevor Turk | October 14th, 2008 @ 10:18 PM | in 2.3.6

In reference to: http://rails.lighthouseapp.com/p... and http://groups.google.com/group/r...

It would be nice to have something like Model.reset_counter_cache(:column_name)

This would be useful when adding a new counter_cache, or if the count was off for whatever reason. Note: adding documentation in the counter_cache area about this would be sweet, too.

Comments and changes to this ticket

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

Referenced by

Pages