Two-step devise signup — email (pg 1) then password (pg 2)?

You are going to want to use a multi-stage form with sessions. There is a great Railscast here on the topic railscasts.com/episodes/217-multistep-forms Sessions are a way of preserving data about a user from one page to the next without the explicit need for you to set his cookies, recognize them etc. Rails sessions take care of all of the recognition.

Up vote 0 down vote favorite share g+ share fb share tw.

Page 1: User enters email, clicks submit. Page 2: User enters password, clicks submit. This is a common signup flow and I couldn't find any examples, how-tos or questions about it.

It seems worth asking for the benefit of all of us beginner Rails monkeys. Of course I'd like to save the email even if the user neglects to enter a password on the second page. Really appreciate any advice!

Ruby-on-rails devise registration link|improve this question edited Feb 10 at 20:37Joel Coehoorn123k34225421 asked Nov 3 '11 at 18:28Tim Koelkebeck858 86% accept rate.

Great, thanks! I'll try this today and get back. – Tim Koelkebeck Nov 3 '11 at 18:45 I think the problem with this is that if the user doesn't submit a password then I can't save the email.

– Tim Koelkebeck Nov 3 '11 at 21:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions