Archive for November 1st, 2006
Hvor skal jeg putte koden min?
Posted by jone in Uncategorized on 1. November , 2006
Her får du noen idèer: the { buckblogs :here }: Skinny Controller, Fat Model
[Rails] select-multiple for has_many association
Posted by jone in Uncategorized on 1. November , 2006
[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][]' %>