aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/public_exceptions.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-01-22 17:35:19 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2015-01-22 17:35:19 +0100
commitd3211d76ce666c9fb0a3c69262e4efdb8eee8832 (patch)
treed42b5e6cf36043d49ced3622019306a63e74ded5 /actionpack/lib/action_dispatch/middleware/public_exceptions.rb
parent3d4eaf6dad8186b531d99c4593c8ba626c9ca8cd (diff)
downloadrails-d3211d76ce666c9fb0a3c69262e4efdb8eee8832.tar.gz
rails-d3211d76ce666c9fb0a3c69262e4efdb8eee8832.tar.bz2
rails-d3211d76ce666c9fb0a3c69262e4efdb8eee8832.zip
Speed up `normalize_keys` by removing dup step.
Previously env was duplicated and then had it's keys mutated. This iterates through the hash twice. Using `transform_keys`, duplication and key mutation is a single iteration. `convert_symbols` was renamed to `http_header_format`.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/public_exceptions.rb')
0 files changed, 0 insertions, 0 deletions