aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-05-16 16:41:24 +0900
committeryui-knk <spiketeika@gmail.com>2015-05-16 16:41:24 +0900
commit686d6ef5871ae8eafe0e820e26c48cf2dc01f16b (patch)
treeb06c3837074255563ee8b189be6e31671b24cdfd /guides/source
parent506360e9244df52d8fae499a69206676b0c88a64 (diff)
downloadrails-686d6ef5871ae8eafe0e820e26c48cf2dc01f16b.tar.gz
rails-686d6ef5871ae8eafe0e820e26c48cf2dc01f16b.tar.bz2
rails-686d6ef5871ae8eafe0e820e26c48cf2dc01f16b.zip
[ci skip] Upcase `when`
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/form_helpers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md
index 677c5ee74d..8f7d97844e 100644
--- a/guides/source/form_helpers.md
+++ b/guides/source/form_helpers.md
@@ -441,7 +441,7 @@ Whenever Rails sees that the internal value of an option being generated matches
TIP: The second argument to `options_for_select` must be exactly equal to the desired internal value. In particular if the value is the integer `2` you cannot pass `"2"` to `options_for_select` - you must pass `2`. Be aware of values extracted from the `params` hash as they are all strings.
-WARNING: when `:include_blank` or `:prompt` are not present, `:include_blank` is forced true if the select attribute `required` is true, display `size` is one and `multiple` is not true.
+WARNING: When `:include_blank` or `:prompt` are not present, `:include_blank` is forced true if the select attribute `required` is true, display `size` is one and `multiple` is not true.
You can add arbitrary attributes to the options using hashes: