Displaying 1 result from an estimated 1 matches for "event_types_attributes".
2010 Jun 24
0
Nested Model Forms
...check_box ''time_unit_ids[]'', { :id => name
}, time_unit.id %>
<% end %>
undefined method `time_unit_ids[]'' for #<EventType:0xb6fa13b8>
I fear I may need to do this but it''s not ideal ...
<%= check_box_tag
''event_category[event_types_attributes][0][time_unit_ids][]'',
time_unit.id,
{ :id => name } %>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6Z...