search for: saved_request

Displaying 1 result from an estimated 1 matches for "saved_request".

2008 Jan 08
0
How do I call the exception_notifier from my own rescue_action_in_public ?
...ption_notifier when I submit my form. I have tried to save the variables exception and request and then simply redefine them so they appear as when the error occurred. My code goes something like this: #controller/application.rb def rescue_action_in_public(exception) @saved_exception = exception @saved_request = request render :partial => "errorpage" end After pushing the form in errorpage i go to this: #controller/application.rb def submit_error() request = params[:saved_request] ExceptionNotifiable::rescue_action_in_public(params[:saved_exception]) end However, I keep getting er...