mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
This commit is contained in:
parent
8da9d02e6e
commit
9de738aadc
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*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]
|
* 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>]
|
* MemCache store may be given multiple addresses. #2869 [Ryan Carver <ryan@fivesevensix.com>]
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
request_parameters_without_action.delete("controller")
|
request_parameters_without_action.delete("controller")
|
||||||
|
|
||||||
request_dump = request_parameters_without_action.inspect.gsub(/,/, ",\n")
|
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>
|
<h2 style="margin-top: 30px">Request</h2>
|
||||||
|
|
Loading…
Reference in a new issue