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.
745d1e3fda649ae1f7a9a963ebfebf5e?d=identicon&s=25 creativetags (Guest)
on 2006-12-29 18: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?


6329e9ce6b0c23f8bcf64a6c46a2bb81?d=identicon&s=25 matt (Guest)
on 2006-12-29 18:12
(Received via mailing list)

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

745d1e3fda649ae1f7a9a963ebfebf5e?d=identicon&s=25 creativetags (Guest)
on 2007-01-04 12:38
(Received via mailing list)
thanks some great tutorials there

This topic is locked and can not be replied to.