aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/api_documentation_guidelines.md
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-09-23 11:23:13 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-09-23 11:23:22 -0700
commit4cf449df9136117f2f0acf9730bf754f889f4dfa (patch)
tree7e79711c460b540a1a56b3a9e6fa2d406f13d6ee /guides/source/api_documentation_guidelines.md
parentf860ab3f1490c7b9839211593010a0421fb8dbf6 (diff)
downloadrails-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 'guides/source/api_documentation_guidelines.md')
0 files changed, 0 insertions, 0 deletions