Merge pull request #403 from JESii/master

Clarify use of label_method versus text_method with collections
This commit is contained in:
Rafael Mendonça França 2012-01-07 08:25:45 -08:00
commit 25f8c811d4
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ Collections can be arrays or ranges, and when a :collection is given the :select
Collection inputs accepts two other options beside collections:
* label_method => the label method to be applied to the collection to retrieve the label
* label_method => the label method to be applied to the collection to retrieve the label (use this instead of the text_method option in collection_select)
* value_method => the value method to be applied to the collection to retrieve the value