Displaying 1 result from an estimated 1 matches for "submit_error".
2008 Jan 08
0
How do I call the exception_notifier from my own rescue_action_in_public ?
...r 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 errors like
undefined method `rescue_action_in_public'' for
ExceptionNotifiable:Module even though they are in that module. I have
included the Exc...