diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-23 11:23:13 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-23 11:23:22 -0700 |
commit | 4cf449df9136117f2f0acf9730bf754f889f4dfa (patch) | |
tree | 7e79711c460b540a1a56b3a9e6fa2d406f13d6ee /actionpack/test/lib/controller | |
parent | f860ab3f1490c7b9839211593010a0421fb8dbf6 (diff) | |
download | rails-4cf449df9136117f2f0acf9730bf754f889f4dfa.tar.gz rails-4cf449df9136117f2f0acf9730bf754f889f4dfa.tar.bz2 rails-4cf449df9136117f2f0acf9730bf754f889f4dfa.zip |
don't mutate a response object after to_a
When the response object is `to_a`'d, that means it's been written to
the socket. It doesn't make sense to mutate the response object after
it's been written (and this may raise an exception in the future).
Diffstat (limited to 'actionpack/test/lib/controller')
0 files changed, 0 insertions, 0 deletions