aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorTravis Pew <travis@travispew.com>2011-11-28 15:46:09 -0500
committerTravis Pew <travis@travispew.com>2011-11-28 15:46:09 -0500
commit237272e049e409c9f620dfadb7cf0688e8c91b0f (patch)
tree896e871f69cf0e434e855c60e5a49eec2f360641 /activemodel
parentafa31cf327893d79826e0a7d5a8667a44213c161 (diff)
downloadrails-237272e049e409c9f620dfadb7cf0688e8c91b0f.tar.gz
rails-237272e049e409c9f620dfadb7cf0688e8c91b0f.tar.bz2
rails-237272e049e409c9f620dfadb7cf0688e8c91b0f.zip
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
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions