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

Changeset 211

Show
Ignore:
Timestamp:
12/18/04 15:01:58 (4 years ago)
Author:
david
Message:

Added POST support for the breakpoint retries, so form processing that raises an exception can be retried with the original request [Florian Gross]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r201 r211  
     1*SVN* 
     2 
     3* Added POST support for the breakpoint retries, so form processing that raises an exception can be retried with the original request [Florian Gross] 
     4 
     5 
    16*1.0.1* 
    27 
  • trunk/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml

    r103 r211  
    1 <% if defined?(Breakpoint) then %><a href="?BP-RETRY=1">Retry with Breakpoint</a><% end %> 
     1<% if defined?(Breakpoint) %> 
     2  <br /><br /> 
     3  <%= form_tag({}, "method" => @request.method) %> 
     4    <input type="hidden" name="BP-RETRY" value="1" /> 
     5 
     6    <% for key, value in @request.params %> 
     7      <input type="hidden" name="<%= key %>" value="<%= value %>" /> 
     8    <% end %> 
     9 
     10    <input type="submit" value="Retry with Breakpoint" /> 
     11  </form> 
     12<% end %> 
    213 
    314<%