From fe00c275cd1c379af5e4e2a72040febea6b98632 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 30 Apr 2005 08:19:14 +0000 Subject: Removed dumping of template assigns on the rescue page as it would very easily include a ton of data making page loads take seconds (and the information was rarely helpful) #1222 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../templates/rescues/_request_and_response.rhtml | 7 ------- 1 file changed, 7 deletions(-) (limited to 'actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml') 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 5f10d91098..d835b8bc9b 100644 --- a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml +++ b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml @@ -33,10 +33,6 @@ 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") - - template_assigns = @response.template.instance_variable_get("@assigns") - %w( response exception template session request template_root template_class url ignore_missing_templates logger cookies headers params ).each { |t| template_assigns.delete(t) } - template_dump = template_assigns.inspect.gsub(/,/, ",\n") %>

Request

@@ -48,6 +44,3 @@

Response

Headers: <%=h @response.headers.inspect.gsub(/,/, ",\n") %>
- -

Show template parameters

- -- cgit v1.2.3