diff options
-rw-r--r-- | actionpack/CHANGELOG | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index b6c03940c3..055ab486e1 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Remove the unused, slow response_dump and session_dump variables from error pages. #1222 [lmarlow@yahoo.com] + * Performance tweaks: use Set instead of Array to speed up prototype helper include? calls. Avoid logging code if logger is nil. Inline commonly-called template presence checks. #2880, #2881, #2882, #2883 [Stefan Kaes] * MemCache store may be given multiple addresses. #2869 [Ryan Carver <ryan@fivesevensix.com>] diff --git a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml index 05e2f7907c..81995320c2 100644 --- a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml +++ b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml @@ -31,8 +31,6 @@ request_parameters_without_action.delete("controller") request_dump = request_parameters_without_action.inspect.gsub(/,/, ",\n") - session_dump = @request.session.instance_variable_get("@data").inspect.gsub(/,/, ",\n") - response_dump = @response.inspect.gsub(/,/, ",\n") %> <h2 style="margin-top: 30px">Request</h2> |