diff options
| author | Matthew Draper <matthew@trebex.net> | 2017-07-10 00:07:03 +0930 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-10 00:07:03 +0930 |
| commit | 551f88366dcbaed3b0abc89bddd63975c4c9a5ca (patch) | |
| tree | ab9306fac3d48ff7dc8556076c8d07b38bcfc381 /actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | |
| parent | 8d98bb0cc6e2baf1694971ae2bdf19e8b8bcdce5 (diff) | |
| parent | b3f3d49fd6b91c6573b3e10e3d00f65306638927 (diff) | |
| download | rails-551f88366dcbaed3b0abc89bddd63975c4c9a5ca.tar.gz rails-551f88366dcbaed3b0abc89bddd63975c4c9a5ca.tar.bz2 rails-551f88366dcbaed3b0abc89bddd63975c4c9a5ca.zip | |
Merge pull request #29655 from kirs/frozen-friendly-ap-ar
Prepare AP and AR to be frozen string friendly
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/debug_exceptions.rb')
| -rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb index d42b35a4cf..18852b0a57 100644 --- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require_relative "../http/request" require_relative "exception_wrapper" require_relative "../routing/inspector" @@ -21,7 +22,7 @@ module ActionDispatch if clean_params.empty? "None" else - PP.pp(clean_params, "", 200) + PP.pp(clean_params, "".dup, 200) end end |
