Making forms for complex models


#1

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


#2

Mark,

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

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

Matt


#3

thanks some great tutorials there

mark