1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2004-12-18 15:01:58 +00:00
parent d678997688
commit 3e6fe858b6
2 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,8 @@
*SVN*
* Added POST support for the breakpoint retries, so form processing that raises an exception can be retried with the original request [Florian Gross]
*1.0.1*
* Fixed a bug that would cause an ApplicationController to require itself three times and hence cause filters to be run three times [evl]

View file

@ -1,4 +1,15 @@
<% if defined?(Breakpoint) then %><a href="?BP-RETRY=1">Retry with Breakpoint</a><% end %>
<% if defined?(Breakpoint) %>
<br /><br />
<%= form_tag({}, "method" => @request.method) %>
<input type="hidden" name="BP-RETRY" value="1" />
<% for key, value in @request.params %>
<input type="hidden" name="<%= key %>" value="<%= value %>" />
<% end %>
<input type="submit" value="Retry with Breakpoint" />
</form>
<% end %>
<%
request_parameters_without_action = @request.parameters.clone