Forum: Ruby on Rails Making forms for complex models

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
creativetags (Guest)
on 2006-12-29 19:06
(Received via mailing list)
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
matt (Guest)
on 2006-12-29 19:12
(Received via mailing list)
Mark,

http://railsforum.com/viewtopic.php?pid=3714

Try this site, it was a few other tutorials regarding multiple
associations on a form.

Matt
creativetags (Guest)
on 2007-01-04 13:38
(Received via mailing list)
thanks some great tutorials there

mark
This topic is locked and can not be replied to.