Ruby On Rails Classroom image

Anil  Bist / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  |1 | 2|Last
Lessons:- Signing Out

  Signing Out

As discussed in Section 8.1, our authentication model is to keep users signed in until they sign out explicitly. In this section, we’ll add this necessary signout capability.

            So far, the Sessions controller actions have followed the RESTful convention of using new for a signin page and create to complete the signin. We’ll continue this theme by using a destroy action to delete sessions, i.e., to sign out. To test this, we’ll click on the ‘‘Sign out’’ link and then look for the reappearance of the signin link (Listing 8.28).

 

________________________________________________________________________________________________

 

As with user signin, which relied on the sign_in function, user signout just defers to a sign_out function (Listing 8.29).

 

 
 
 
image
Anil  Bist

Skills    Ruby On Rails

Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,
Location :-Dehradun,Dehradun,Uttarakhand,India
Description:-

I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore

 

  Students (0)