Select_tag and multiple => true

I was looking at how a select tag when set to multiple = true is
returned is just a comma separated list. My issue is that I would
rather not add quotes around the values in the list and it is
possible that my list may contain a comma. Is there a way to force
either to wrap the values returned to the server in quotes or force
an array to be returned as opposed to the comma separated one that I



That is controlled by the browser, if you really need to you could
create a hidden form field and populate it using javascript.
If the select is dynamically created its best to use the id column for
the value and translate as needed.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs