diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-03-21 13:37:53 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-03-21 13:40:41 -0400 |
commit | 843345cae59b73e50af685ac1303a419a06b4c91 (patch) | |
tree | c16179f0e70bbf8f38acbb564476faf22da1c3c6 /activerecord/lib/active_record/nested_attributes.rb | |
parent | ad37b79ec45dc3bb25b98daa872d803fad340916 (diff) | |
download | rails-843345cae59b73e50af685ac1303a419a06b4c91.tar.gz rails-843345cae59b73e50af685ac1303a419a06b4c91.tar.bz2 rails-843345cae59b73e50af685ac1303a419a06b4c91.zip |
Revert "Merge pull request #27775 from domcleal/27774-format-reset"
This reverts commit c6f9f8c28a720ad4ec7cf3613dddfa451d5968e2, reversing
changes made to c309073c7476f50dfb1e796d058580f176101c36.
Reason: This is fixing the behavior in the wrong place. Now the request
path after the request is nil and there is no way to assert that.
Also the test that was added in that PR also fails in 4.2 where the
reporter says it was passing. The reason the bahavior changed between
Rails 4.2 and Rails 5 is that the format in the path is now respected.
The correct way to fix the problem is not doign two requests in the same
controller test and use integrations tests. This change caused a
regression between Rails 5.0.1 and 5.0.2.
Diffstat (limited to 'activerecord/lib/active_record/nested_attributes.rb')
0 files changed, 0 insertions, 0 deletions