Displaying 1 result from an estimated 1 matches for "failedmarkedtru".
Did you mean:
failedmarkedtrue
2007 Dec 30
0
Exception not caught while in view
I''m running Rails 2.0.2.
My controller is subclassed from RetainController (which is subclassed
from ApplicationController).
Retain Controller has:
rescue_from Retain::LogonFailed, :with => :logon_failed
rescue_from Retain::FailedMarkedTrue, :with => :failed_marked_true
It works if the exception occurs before I start processing the view. If
I get the exception while in the view, (this is in development mode),
Rails will give me the usual exception page.
I thought, maybe, I was done with the controller but that is not the
case....