i am passing an array of items to the rails create scaffold from a form
(checkboxes) e.g
this works, and when i check my database table the field contains the
following:
- 1st value
- 2nd value
- 3rd value
etc…
so when i come to use these values i get the first value which is ‘—’
the second value as ‘- 1st value’ etc… obviously i want the first value
to be ‘1st value’, second value ‘2nd value’ etc.
any body else experienced this, and have a solution??