Rescue action doesn't catch exception

I define rescue_action_in_public method in my application controller.
But it fails to catch any exception thrown. I could catch the exception
if i define rescue_action method instead of rescue_action_in_public
Any idea why?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs