Ruby On Rails Classroom image

Pooja  Negi / Student / Web Technology

To post your Question Join Classroom
Lesson Topics's No:-  ||
Lessons:- Signin Success

Signin Success

Having handled a failed signin, we now need to actually sign a user in. Getting there will require some of the most challenging Ruby programming so far in this tutorial, so hang in there through the end and be prepared for a little heavy lifting. Happily, the first step is easy—completing the Sessions controller create action is a snap. Unfortunately, it’s also a cheat.

Filling in the area now occupied by the signin comment (Listing 8.12) is simple: Upon successful signin, we sign the user in using the sign_in function, and then redirect to the profile page (Listing 8.13). We see now why this is a cheat: Alas, sign_in doesn’t currently exist. Writing it will occupy the rest of this section.




Pooja   Negi

Skills    Ruby On Rails

Qualifications :- High School - SSN high school, College/University - HNBGU, College/University - SRHU,
Location :-Ranipokhari,Rishikesh,Uttarakhand,India
Description:- Student

  Students (0)