form builder knows about collection_select now
Oleg
committed Mar 24, 2012
commit 7b02b370a42992ca7a29ec55109f1d21aa918d07
Showing 1
changed file with
1 additions
and 1 deletions
comfortable_mexican_sofa/form_builder.rb b/lib/comfortable_mexican_sofa/form_builder.rb
+1
-1
| @@ | @@ -2,7 +2,7 @@ class ComfortableMexicanSofa::FormBuilder < ActionView::Helpers::FormBuilder |
| helpers = field_helpers - | |
| %w(hidden_field fields_for) + | |
| - | %w(select) |
| + | %w(select collection_select) |
| helpers.each do |name| | |
| class_eval %Q^ | |