hi does anyone have an example / tutorial for making a complex form (one that gathers information for multiple, associated models)? I''m making a survey app so my form starts as a form_for the response model but i need it to capture information for answers and they could be of different types so i have models under them to represent each type (multiple-choice, free-text etc.) I could probably hack something poor together to get it to work but what''s the recommended way of dealing with this sort of thing? thanks mark --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mark, http://railsforum.com/viewtopic.php?pid=3714 Try this site, it was a few other tutorials regarding multiple associations on a form. Matt On Fri, 2006-12-29 at 09:04 -0800, creativetags wrote:> hi > > does anyone have an example / tutorial for making a complex form (one > that gathers information for multiple, associated models)? > > I''m making a survey app so my form starts as a form_for the response > model but i need it to capture information for answers and they could > be of different types so i have models under them to represent each > type (multiple-choice, free-text etc.) > > I could probably hack something poor together to get it to work but > what''s the recommended way of dealing with this sort of thing? > > thanks > > mark > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
thanks some great tutorials there mark --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---