Displaying 1 result from an estimated 1 matches for "person_task".
Did you mean:
person_tasks
2006 Aug 09
0
select-multiple for has_many association
I haven''t looked into this for several months, but there still doesn''t
seem to be an obvious way to generate a HTML select element for
choosing multiple items to be set for a has_many association.
<select id="person_task_ids" multiple="multiple"
name="person[tasks][]">
<option value="1">Do something</option>
...
</select>
Let''s see. There''s a handy helper method that results in code like this,
when used straightforwardly
&...