aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/person.rb
diff options
context:
space:
mode:
authorJohn Wang <john@panjiva.com>2013-03-15 11:48:53 -0400
committerwangjohn <wangjohn@mit.edu>2013-03-15 21:28:28 -0400
commit455d710242f24f0cfff89f626164493276e0f3e9 (patch)
tree81cd0e44ec560b673938f78135c9b72bbd667183 /activerecord/test/models/person.rb
parentae8e84e976c296596adf97f60932bd3a164506b4 (diff)
downloadrails-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/models/person.rb')
0 files changed, 0 insertions, 0 deletions