I would make the controller something like..
Up vote 0 down vote favorite share g+ share fb share tw.
Hello I have been trying for several days using nested attributes, etc. Basically, I want a User to SIGN UP. Once the User is 'Signed Up' I want them to be redirected to 'Create Your Team' page. Once they created their Team, then they are redirected to their Team Dashboard.
But what if a User didn't create the Team right away? I would like it so the system detects that they have not created a Team and redirects them, otherwise go to Dashboard. I'm not sure what would be the best practice in doing this.
I was hoping to find some Github project for doing this but to no avail. Thanks ruby-on-rails devise link|improve this question asked Aug 5 '10 at 16:11Brad Madigan545 57% accept rate.
I would make the controller something like.. def login unless current_user. Exists?(team) redirect_to create_team else redirect_to root_url end end That's so psuedo-code.
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.