Flowdock
method

rescue_from

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActionDispatch::Rescue
rescue_from(exception, rescuer) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/rescue.rb, line 21
      def rescue_from(exception, rescuer)
        exception = exception.class.name if exception.is_a?(Exception)
        @rescuers[exception.to_s] = rescuer
      end
Register or log in to add new notes.