Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v4.2.9) is shown here.
patch?()
public
Is this a PATCH request? Equivalent to request.request_method ==
:patch.
# File actionpack/lib/action_dispatch/http/request.rb, line 145
def patch?
HTTP_METHOD_LOOKUP[request_method] == :patch
end