diff options
author | Arthur Neves <arthurnn@gmail.com> | 2014-02-28 17:00:38 -0500 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2014-02-28 17:00:38 -0500 |
commit | 774160b9ad6908435bf3485e7ac98633deff76c6 (patch) | |
tree | 37c2e322ff4eae74c8d314912293b07efb46218b /actionpack/test/journey/routes_test.rb | |
parent | be6f51a487eb412ca29765aa7e84d2f13a688891 (diff) | |
download | rails-774160b9ad6908435bf3485e7ac98633deff76c6.tar.gz rails-774160b9ad6908435bf3485e7ac98633deff76c6.tar.bz2 rails-774160b9ad6908435bf3485e7ac98633deff76c6.zip |
Remove unnecessary db call when replacing.
When replacing a has_many association with the same one, there is no
need to do a round-trip to the db to create/and drop a new transaction.
[fixes #14220]
Diffstat (limited to 'actionpack/test/journey/routes_test.rb')
0 files changed, 0 insertions, 0 deletions