blog.luguber.info

1Nov/060

[Rails] select-multiple for has_many association

[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][]' %>

Tagged as: , Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.