From 3e6fe858b6a785f857c6a752410107bd824747eb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 18 Dec 2004 15:01:58 +0000 Subject: 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 --- actionpack/CHANGELOG | 5 +++++ .../templates/rescues/_request_and_response.rhtml | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 2a9bc9027a..ab4edf3ba6 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -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] diff --git a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml index c993fb3b19..afdd19c6c1 100644 --- a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml +++ b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml @@ -1,4 +1,15 @@ -<% if defined?(Breakpoint) then %>Retry with Breakpoint<% end %> +<% if defined?(Breakpoint) %> +

+ <%= form_tag({}, "method" => @request.method) %> + + + <% for key, value in @request.params %> + + <% end %> + + + +<% end %> <% request_parameters_without_action = @request.parameters.clone -- cgit v1.2.3