This project is archived and is in readonly mode.
Changeset [9ab3cebe9fd60a38c7f8238e74ea377f17212789] by John Allison
Revision 9ab3cebe9fd60a38c7f8238e74ea377f17212789,
committed by John Allison
· January 9th, 2011 @ 11:46 PM
Improve select helpers by allowing a selected value of false.
This is useful when using a select helper with a boolean attribute,
and the attribute is false. (e.g. f.select :allow_comments)
https://github.com/rails/rails/commit/9ab3cebe9fd60a38c7f8238e74ea3...
2 changed files
-
M
actionpack/lib/action_view/helpers/form_options_helper.rb -
M
actionpack/test/template/form_options_helper_test.rb