Permalink
Browse files

Remove the unused, slow response_dump and session_dump variables from…

… error pages. References #1222.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 8da9d02 commit 9de738aadc3422b48e41f2b54e8fff3da0607a26 @jeremy jeremy committed Nov 16, 2005
View
2 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>]
View
2 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>

0 comments on commit 9de738a

Please sign in to comment.