I know this is a really basic and simple thing for Rails, but as a
newbie, I am having trouble figuring it out . . .

I have a home page with a register link which executes the register
action and shows the first (of two) registration page.  When I click
the "Continue" button, I want to go to the "continue_registration"
action which will take the data from the first form and create the
user object.  That part works as planned.  However, the second form
has all the optional fields (home address, phone, etc.).  The
questionI have is how do I pass the user id (or the user model) from
the register action to the continue_registration action?

I have a form on the second page using this code:
   <form id="registerForm2" method="post"
action="completeRegistration">

But in the completeRegistration action, the params hash does not have
any reference to my user id.

Can someone help with this?

Thank you
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to