mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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