diff options
author | Shintaro Kojima <goodies@codeout.net> | 2015-04-04 12:24:48 +0000 |
---|---|---|
committer | Shintaro Kojima <goodies@codeout.net> | 2015-04-04 12:48:36 +0000 |
commit | e646d3bf574ad3ea7dc5b525511377559b2640dc (patch) | |
tree | 3683452896a028a7e3014783b3c9016328a08b5d /activerecord/lib/active_record/counter_cache.rb | |
parent | 5abadf1613710c6e6b54e8190b66543861711b8a (diff) | |
download | rails-e646d3bf574ad3ea7dc5b525511377559b2640dc.tar.gz rails-e646d3bf574ad3ea7dc5b525511377559b2640dc.tar.bz2 rails-e646d3bf574ad3ea7dc5b525511377559b2640dc.zip |
Fix a regression introduced by removing unnecessary db call when replacing
When replacing a has_many association with the same one, there is nothing to do with database but a setter method should still return the substituted value for backward compatibility.
Diffstat (limited to 'activerecord/lib/active_record/counter_cache.rb')
0 files changed, 0 insertions, 0 deletions