Avoid updating updated_at when counter_cache column is updated. #44

merged 1 commit into from Jul 4, 2012


None yet

2 participants


Updating the counter_cache should not update the updated_at timestamp. This will cause creation of child records to make parent records seem updated, when they are actually not.

@sferik sferik merged commit bdd7a05 into charlotte-ruby:master Jul 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment