aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/show_exceptions.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-07-21 15:10:14 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-07-21 15:10:14 -0700
commit5046d5179e9627bb84962f7ebf2153bfac6db254 (patch)
tree5430f812b9d6b42744038650e9e624ba5b049342 /actionpack/lib/action_dispatch/middleware/show_exceptions.rb
parentc75153d280e70e501c9044286ff52e50fe29a054 (diff)
downloadrails-5046d5179e9627bb84962f7ebf2153bfac6db254.tar.gz
rails-5046d5179e9627bb84962f7ebf2153bfac6db254.tar.bz2
rails-5046d5179e9627bb84962f7ebf2153bfac6db254.zip
drop conditionals in conversion logic
there is no reason to `convert_hashes_to_parameters` with an assignemt flag. The caller knows whether or not it wants the value assigned. We should just change the uncommon case (not writing to the underlying hash) to just call the conversion method and return that value.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/show_exceptions.rb')
0 files changed, 0 insertions, 0 deletions