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. The controller is still on the stack (way down deep). So, is
something else catching the exception -- maybe in the erb processing?
Thanks,
pedz
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---