search for: proj_people_attribut

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

Did you mean: proj_people_attributes
2008 May 02
1
names of select elements inside a fields_for block not generated as expected
...ilscasts.com/episodes/73) and having trouble. The view is projects/new. I''m trying to add some project_people to the form w/code like so: <% form_for(@project) do |f| %> [project stuff here] <% for pp in @project.project_person %> <% fields_for ''project[proj_people_attributes][]'', pp do |pp_form| %> <p> Person: <%= collection_select(:pp, :person_id, Person.get_list, :id, :nom, {:prompt => ''Person?''}) %> Role: <%= select(:pp, :role, Person::ROLE_NAMES, {:prompt => ''Role?&...