diff options
| author | Travis Pew <travis@travispew.com> | 2011-11-28 15:46:09 -0500 |
|---|---|---|
| committer | Travis Pew <travis@travispew.com> | 2011-11-28 15:46:09 -0500 |
| commit | 237272e049e409c9f620dfadb7cf0688e8c91b0f (patch) | |
| tree | 896e871f69cf0e434e855c60e5a49eec2f360641 /railties/guides/code/getting_started/vendor | |
| parent | afa31cf327893d79826e0a7d5a8667a44213c161 (diff) | |
| download | rails-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 'railties/guides/code/getting_started/vendor')
0 files changed, 0 insertions, 0 deletions
