Displaying 1 result from an estimated 1 matches for "buyer_profile_id".
2006 Apr 21
2
Forms Containing Collections problem
...tell me why I''m getting the error "The error occured while
evaluating nil.id_before_type_cast" for the following view code
<% for entry in participant_portfolio.portfolio_entries -%>
<%= select "entry[]" , :id, @buyer_profiles,
:selected => entry.buyer_profile_id %>
<% end -%>
This seems to only happen when I use "entry[]" instead of just
"entry". I need the id of the entry being written in the form and
thus would prefer to use the "entry[]" method.
Page 344 of AWDWR makes it look like it should work, but for s...