diff options
author | John Wang <john@panjiva.com> | 2013-03-15 11:48:53 -0400 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-03-15 21:28:28 -0400 |
commit | 455d710242f24f0cfff89f626164493276e0f3e9 (patch) | |
tree | 81cd0e44ec560b673938f78135c9b72bbd667183 /activerecord/test/fixtures/author_favorites.yml | |
parent | ae8e84e976c296596adf97f60932bd3a164506b4 (diff) | |
download | rails-455d710242f24f0cfff89f626164493276e0f3e9.tar.gz rails-455d710242f24f0cfff89f626164493276e0f3e9.tar.bz2 rails-455d710242f24f0cfff89f626164493276e0f3e9.zip |
If a counter_cache is defined, then using update_attributes and changing
the primary key on an association will make sure that the corresponding
counter on the association is changed properly. Fixes #9722.
Diffstat (limited to 'activerecord/test/fixtures/author_favorites.yml')
0 files changed, 0 insertions, 0 deletions