Empty array value being input with simple_form entries
问题 I'm still new to rails and simple_form and have been trying to implement a multiple select option to give a user multiple roles. Current input looks like this <%= f.input :secondary_role, :collection => UseridRole::VALUES, :include_blank => false,:label => "Secondary Role(s):", :input_html => { :class => " simple_form_bgcolour simple_form_position overide_selection_field_width", :size => 4, multiple: true } %> So, this does work, but is including an empty value at the start of my array: