mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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:
@@ -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>]
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user