On Jul 12, 11:43 pm, Rodrigo Ruiz <[email protected]> wrote: > I did it =), thank you everyone, the problem was that I was writing: > <% f.fields_for :company_contact do |company_contact_form| %> > instead of: > <%= f.fields_for :company_contact do |company_contact_form| %> > > Thank you very much, > Now I just need help to make this into a multi step form. If anyone have any > ideas I appreciate it.
Hi Rodrigo, I have uploaded a demo to github: https://github.com/phollyer/Very-simple-multi-step--multi-model-form This should give you a place to start. As the title says, it is VERY SIMPLE. There is no error handling, I leave that as an excercise for you, or for anyone else that finds it useful. I would seriously suggest though, if I may, that you should do some reading - the latest AWDwR book, and the latest Ruby Pickaxe book, both from PragProg wouldn't be a bad place to start. Otherwise, you are going to find yourself continually asking questions. When you have cloned the repo, just do the following to get it up and running: bundle install rake db:migrate That should be all you need, now you can run the cuke features to test, or start the server and try it in your browser. HTH Paul > > Thank you again, > 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.

