Please sign in to comment.
Fix ActionDispatch::Request method explanations
The methods, "post?", "put?", "head?", etc. contain an incorrect explanation. They state that they are equivalent to request_method == :type, but this is not accurate because the methods convert the string to a symbol. They are actually equivalent to: request_method_symbol == :type
- Loading branch information...
Showing with 5 additions and 5 deletions.