[Rails] select-multiple for has_many association
Kort gjenfortalt :
< %= collection_select :person, :task_ids,
Task.find(:all), :id, :description, {},
:multiple => true,
:name => 'person[task_ids][]' %>
[Rails] select-multiple for has_many association
Kort gjenfortalt :
< %= collection_select :person, :task_ids,
Task.find(:all), :id, :description, {},
:multiple => true,
:name => 'person[task_ids][]' %>