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:
But in the completeRegistration action, the params hash does not have
any reference to my user id.
Can someone help with this?