diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-09-06 15:58:07 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-09-06 15:58:07 +0100 |
commit | b24d668859c5836c0e3ed277b2022a1a39eb3f8e (patch) | |
tree | 9ba6b20c7bb26165953748e4ff9a5305c550575d /activerecord/test/cases/validations/association_validation_test.rb | |
parent | 9f3e732e65dfa978e036a3b0df3578b2d6a6510a (diff) | |
download | rails-b24d668859c5836c0e3ed277b2022a1a39eb3f8e.tar.gz rails-b24d668859c5836c0e3ed277b2022a1a39eb3f8e.tar.bz2 rails-b24d668859c5836c0e3ed277b2022a1a39eb3f8e.zip |
Ensure we are not comparing a string with a symbol in HasManyAssociation#inverse_updates_counter_cache?. Fixes #2755, where a counter cache could be decremented twice as far as it was supposed to be.
Diffstat (limited to 'activerecord/test/cases/validations/association_validation_test.rb')
0 files changed, 0 insertions, 0 deletions