The Agile Web Development with Rails book (a must have!!!) has an example of
parent child parameter driven forms in Chapter 10 (shipping), in the context
of its example Depot application.
It so happens I have a tutorial with screenshots on using the Depot demo app
with RadRails, and I just finished going through that chapter this morning
(believe it or not).
Check it out at
http://wiki.awebfactory.com.ar/awebfactory/published/DepotAppWithRadRailsIterationE1
That may help you.
Victor Kane
http://awebfactory.com.ar
http://wiki.awebfactory.com.ar/awebfactory/published/RadRailsTutorials
From: Fernando Ruscitti <fruscitti@gmail.com>> To: rails@lists.rubyonrails.org
> Date: Tue, 28 Mar 2006 14:54:00 +0200
> Subject: [Rails] Master - Detail Form
> Hi, I''m new with RoR. I''m trying to do a master-detail
CRUD form, using
> generate scaffold.
> The problem I''m facing is that I have to keep the parent id
through the
> detail view all the time by hand. Is there any example or way to see how
> to do it properly?
> Thanks.
> Fernando.
>
> PS: For further information, I have a Task and the Tasks have Items, so
> when I want to add an Item to a task I have to forward the task id to
> the Items edit/add windows, etc, and make shure of not loosing it.
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060328/1bd8e40a/attachment.html