Flowdock
method

method

Importance_1
v1.2.0 - Show latest stable - 0 notes - Class: ActionController::AbstractRequest
method() public

Returns the HTTP request method as a lowercase symbol (:get, for example). Note, HEAD is returned as :get since the two are supposedly to be functionaly equivilent for all purposes except that HEAD won’t return a response body (which Rails also takes care of elsewhere).

Show source
Register or log in to add new notes.