Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 5239

Show
Ignore:
Timestamp:
10/09/06 00:17:11 (2 years ago)
Author:
david
Message:

Deprecation cleanup for rescues (closes #6339) [adam]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml

    r5217 r5239  
    99  <br /><br /> 
    1010  <% begin %> 
    11     <%= form_tag(@request.request_uri, "method" => @request.method) %> 
     11    <%= form_tag(request.request_uri, "method" => request.method) %> 
    1212      <input type="hidden" name="BP-RETRY" value="1" /> 
    1313   
     
    2727 
    2828<% 
    29   request_parameters_without_action = @request.parameters.clone 
     29  request_parameters_without_action = request.parameters.clone 
    3030  request_parameters_without_action.delete("action") 
    3131  request_parameters_without_action.delete("controller") 
     
    3838 
    3939<p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p> 
    40 <div id="session_dump" style="display:none"><%= debug(@request.session.instance_variable_get("@data")) %></div> 
     40<div id="session_dump" style="display:none"><%= debug(request.session.instance_variable_get("@data")) %></div> 
    4141 
    4242 
    4343<h2 style="margin-top: 30px">Response</h2> 
    44 <b>Headers</b>: <%=h @response.headers.inspect.gsub(/,/, ",\n") %><br/> 
     44<b>Headers</b>: <%=h response.headers.inspect.gsub(/,/, ",\n") %><br/>