diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 00:54:49 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 01:00:31 -0300 |
commit | e28b6f5cae211f56d718517c3e6e92792725f13c (patch) | |
tree | a9b309bc1c9e5117a08cb511019926fb6ca28f10 /guides/source | |
parent | 521e964411114a9ff8c95f4129ca7ade8f972d53 (diff) | |
download | rails-e28b6f5cae211f56d718517c3e6e92792725f13c.tar.gz rails-e28b6f5cae211f56d718517c3e6e92792725f13c.tar.bz2 rails-e28b6f5cae211f56d718517c3e6e92792725f13c.zip |
Copy edit the documentation
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/form_helpers.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.textile b/guides/source/form_helpers.textile index b2c05492ab..711ed3d859 100644 --- a/guides/source/form_helpers.textile +++ b/guides/source/form_helpers.textile @@ -405,7 +405,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: +:include_blank+ is forced true if the attributes +required+ is true, display +size+ is one and +multiple+ is not true. +WARNING: when +:inlude_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. h4. Select Boxes for Dealing with Models |