lib/formtastic/inputs/select_input.rb in formtastic-3.1.5 vs lib/formtastic/inputs/select_input.rb in formtastic-4.0.0.rc1
- old
+ new
@@ -194,10 +194,10 @@
end
def extra_input_html_options
{
:multiple => multiple?,
- :name => (multiple? && Rails::VERSION::MAJOR >= 3) ? input_html_options_name_multiple : input_html_options_name
+ :name => multiple? ? input_html_options_name_multiple : input_html_options_name
}
end