Brilliant find Mike, good work hardbap, and thanks for applying Jeremy, but I don't actually like this API because it doesn't let you update a single row. If you have lots of rows this will be unacceptably slow, as in slower than the amount of time it would take to manually write and execute an SQL query to do the reset.
I'm going to reopen with an additional patch with how I think it should be done. On Dec 2, 11:33 am, Mike Gunderloy <[email protected]> wrote: > https://rails.lighthouseapp.com/projects/8994/tickets/1211 > > Mike > > On Dec 2, 2009, at 1:23 PM, dasil003 wrote: > > > > > Has there ever been discussion of adding a method to recalculate > > counter cache values? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
