method

nonempty_ok_response?

rails latest stable - Class: ActionController::AbstractResponse

Method deprecated or moved

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

nonempty_ok_response?()
private

No documentation available.

# File actionpack/lib/action_controller/response.rb, line 159
      def nonempty_ok_response?
        ok = !status || status[0..2] == '200'
        ok && body.is_a?(String) && !body.empty?
      end