Forum: Ruby on Rails Making forms for complex models

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
creativetags (Guest)
on 2006-12-29 19:06
(Received via mailing list)

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?


matt (Guest)
on 2006-12-29 19:12
(Received via mailing list)

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

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

This topic is locked and can not be replied to.