I watched the screencast, and it covers the multi step form thing but with only one model. I'd like to the the same thing but each step would be a different model. How can I do that?
On Monday, July 11, 2011, Everaldo Gomes <[email protected]> wrote: > Hi Rodrigo, > > Take a look at this screencast, from Ryan Bates: > http://railscasts.com/episodes/217-multistep-forms > > > Best Regards, > > Everaldo > > > On Mon, Jul 11, 2011 at 2:41 PM, Rodrigo Ruiz <[email protected]> wrote: > > > Do you know when you are filling out a registration for a new account, and > you keep pressing next to fill the rest of the information in separate pages? > I'd like to do that, but I have no idea how. > > > > Basically I have a company model with its information, and a contacts model, > with belongs to my company (also each company has only one contact), and I'd > like for the user to fill in the company specific information (like email, > name, address, etc), and click next down the page to fill in the contact > information (telephone, manager email, etc). Also I'd like to save it to the > database only if all the information in both pages are inputed. > > > > Thank you,Rodrigo > > > > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

