method

rescue_action

rails latest stable - Class: ActionController::TestCase::RaiseActionExceptions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

rescue_action(e)
public

No documentation available.

# File actionpack/lib/action_controller/test_case.rb, line 28
      def rescue_action(e)
        self.exception = e
        
        if request.remote_addr == "0.0.0.0"
          raise(e)
        else
          super(e)
        end
      end