Skip to content

Commit

Permalink
Merge pull request #313 from chrisledet/master
Browse files Browse the repository at this point in the history
Corrected README
  • Loading branch information
carlosantoniodasilva committed Sep 7, 2011
2 parents 9cf66e0 + 7426220 commit fb688dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -158,7 +158,7 @@ Collection inputs accepts two other options beside collections:

* value_method => the value method to be applied to the collection to retrieve the value

Those methods are useful to manipulate the given collection. Both of these options also except lambda/procs in case you want to calculate the value or label in a special way eg. custom translation. All other options given are sent straight to the underlying helper. For example, you can give prompt as:
Those methods are useful to manipulate the given collection. Both of these options also accept lambda/procs in case you want to calculate the value or label in a special way eg. custom translation. All other options given are sent straight to the underlying helper. For example, you can give prompt as:

f.input :age, :collection => 18..60, :prompt => "Select your age"

Expand Down

0 comments on commit fb688dc

Please sign in to comment.