Skip to content
Browse files

Copy edit the documentation

  • Loading branch information...
1 parent 521e964 commit e28b6f5cae211f56d718517c3e6e92792725f13c @rafaelfranca rafaelfranca committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/form_helpers.textile
2 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.
@carlosantoniodasilva Ruby on Rails member

I think the size docs need some update with your latest commits, not?

@rafaelfranca Ruby on Rails member

Do you mean the select docs?

@carlosantoniodasilva Ruby on Rails member

This: display +size+ is one

@rafaelfranca Ruby on Rails member

I see. Actually the display size is one by default (even if the attribute is not generated), so I not changed the text.

@carlosantoniodasilva Ruby on Rails member

Okay.. it's just because it sounded like one'd have to give :size => 1, which is not true, but I may have misinterpreted, so nevermind :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
h4. Select Boxes for Dealing with Models

0 comments on commit e28b6f5

Please sign in to comment.
Something went wrong with that request. Please try again.