search for: projects_id

Displaying 1 result from an estimated 1 matches for "projects_id".

Did you mean: project_id
2007 Dec 14
0
combobox and m:n relation
Hi, i have a project and a task. both have a m:n relation to each other. I made a scaffolding and want to insert a combobox in the task new view Code : ruby - fold - unfold <label for="project_name_ger">Poject</label><br/> <%= select "task[projects_id][]", "project_id", Project.find(:all).collect {|c| [c.name_ger, c.id]}, :prompt => "Select a Category" %> the code does not work. does anyone has an idea how to save the combobox''s content. it works for a 1:n relation because i just...