Multiple Model Form

View: New views
3 Messages — Rating Filter:   Alert me  

Multiple Model Form

by eggie5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I created scaffolding for my Model x, but I want to modify the new
view so that I can create multiple (3) x objects in the DB instead of
just 1 at a time. How can I do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Multiple Model Form

by Eric Hill-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


mandatory viewing: http://railscasts.com/episodes/73-complex-forms-part-1

you'll probably benefit from watching all of them.

-eric

On Nov 7, 3:31 pm, eggie5 <egg...@...> wrote:
> I created scaffolding for my Model x, but I want to modify the new
> view so that I can create multiple (3) x objects in the DB instead of
> just 1 at a time. How can I do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Multiple Model Form

by eggie5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


my deal is even simpler than this though... The above like makes a
series of models under a parent model.. I just want the series of
parent models...

On Nov 8, 9:38 am, Eric <ericgh...@...> wrote:

> mandatory viewing:http://railscasts.com/episodes/73-complex-forms-part-1
>
> you'll probably benefit from watching all of them.
>
> -eric
>
> On Nov 7, 3:31 pm, eggie5 <egg...@...> wrote:
>
>
>
> > I created scaffolding for my Model x, but I want to modify the new
> > view so that I can create multiple (3) x objects in the DB instead of
> > just 1 at a time. How can I do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---