Using Rails 3.1.3 and I\'m trying to figure out why our counter caches aren\'t being updated correctly when changing the parent record id via update_attributes.
A fix for this has been merged in to active record master
https://github.com/rails/rails/issues/9722