Forum: Ruby on Rails rescue_from method in application controller

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Anil Kumar (Guest)
on 2014-06-19 10:39
(Received via mailing list)
What exception cannot be handled with rescue_from method in application
class ApplicationController < ActionController::Base
  rescue_from Exception, with: error_handler
  . . . . . . . . . .

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

Thanks in advance

Colin Law (Guest)
on 2014-06-19 21:09
(Received via mailing list)
On 19 June 2014 08:06, Anil Kumar <> 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.

This topic is locked and can not be replied to.