Rescue_from method in application controller

What exception cannot be handled with rescue_from method in application
controller?
e.g
class ApplicationController < ActionController::Base
rescue_from Exception, with: error_handler
. . . . . . . . . .
end

1). server errors
2). record not found (404)
3). routing errors
4). all of these

Thanks in advance

Joon

On 19 June 2014 08:06, Anil K. [email protected] wrote:

3). routing errors
4). all of these

If you want help with your school work you should at least rephrase
the question so it is not quite so obvious.

Colin

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