Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Copy edit the documentation

  • Loading branch information...
commit e28b6f5cae211f56d718517c3e6e92792725f13c 1 parent 521e964
@rafaelfranca rafaelfranca authored
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.

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

@rafaelfranca Owner

Do you mean the select docs?

This: display +size+ is one

@rafaelfranca Owner

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

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
Please sign in to comment.
Something went wrong with that request. Please try again.