mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Copy edit the documentation
This commit is contained in:
parent
521e964411
commit
e28b6f5cae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue