Forum: Ruby on Rails two or more forms in one page, and the controller will recie

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.
F1eaf721b351bc5b824c21d085419cf7?d=identicon&s=25 Smallbear (Guest)
on 2007-05-28 08:13
(Received via mailing list)
thanks everybody.
15eb647956921a6bc9655c3513feb139?d=identicon&s=25 lanzm (Guest)
on 2007-05-28 11:24
(Received via mailing list)
shold I put my answer into the subject line ?

What do you want to do exactly ? multiple model forms on one page
(form_tag); multiple forms and submitting both or mixing model forms
(form_for, fields_for) with non-model fields ?

Please explain your use-case.
F1eaf721b351bc5b824c21d085419cf7?d=identicon&s=25 Smallbear (Guest)
on 2007-05-29 03:19
(Received via mailing list)
Sorry for my bad forms.
I want to multiple some the same model form and one submit in one
page. There will be a def in the controller to create some objects to
recieve all the model forms, but now, for example,
@choices ={[:choice]) } #create objcets
with the recieved forms params
[:choice] means it can only comes one model form, what should I do to
make all the forms come into the def???
Thanks for your time.
This topic is locked and can not be replied to.