[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][]' %>
This entry was posted on 1. November , 2006, and is filed under Uncategorized. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^