Hello,
Currently when using the select_tag method with the :multiple => true option the name parameter is set as is.
select_tag "access", nil, :multiple => true # => <select id="access" multiple="multiple" name="access"></select>
Although for the mulitple values to be sent the name should instead be "access".
So you can do that with the following...
select_tag "access", nil, :name => "access", :multiple => true # => <select id="access" multiple="multiple" name="access"></select>
Should this be set automatically where the method checks for the :multiple option as true and sets the name to "access"?
So with :multiple => true...
select_tag "access", nil, :multiple => true # => <select id="access" multiple="multiple" name="access"></select>
and without :multiple => true...
select_tag "access", nil # => <select id="access" multiple="multiple" name="access"></select>
Thanks