Displaying 1 result from an estimated 1 matches for "_notificaiton".
Did you mean:
notificaiton
2006 Oct 03
0
changes to the exception_notification plugin
...and that is where a 404
occurs because a RoutingError occured at the controller level. If it
happens after the controller has been found (say a view or ID is
wrong), then this works. But if application.rb is not called, then it
goes back to the default rails code instead of through the exception
_notificaiton plugin.
This is easily fixed if two changes occur:
- you wrap the ExceptionNotification module around the ActionController
module like so:
module ActionController
module ExceptionNotifiable
- in init.rb, add this:
require ''exception_notifiable''
that is all it takes to self...