MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

User Authentication with Rails

Course Summary

A common piece of functionality across web applications is having user accounts. In this course, we're going to add user accounts to our existing todo list application ODOT. You'll learn all about creating user accounts, how to securely hash passwords, allowing users to sign in and out of the application, and reset their password. We'll also write tests along the way.


  • +

    Course Syllabus

    Password Hashing and Sign In

    Security is very important when creating user accounts in our application. In this stage, we'll learn all about how to safely store login credentials in our application and create our User model. 14 steps
    • Project Overview 1:11
    • How Password Hashing Works 4:49
    • How Password Hashing Works 4 questions
    • Creating the User Model: Part 1 6:31
    • Creating the User model: Part 2 9:50
    • Creating the User Model 4 questions
    • Using has_secure_password 11:02
    • Using has_secure_password 2 questions
    • Creating the Sessions Controller 11:28
    • Testing Session Creation 10:16
    • Creating the Sessions Controller 4 questions
    • Testing Session Creation 3 questions
    • Integration testing authentication 9:14
    • Password Hashing and Sign In 7 questions

    Adding User Support to Our Application

    Our application is currently written with the concept of a single person using it. We can register for the application and sign in and out, however, todo lists and items do not belong to any particular user. In this stage, we'll refactor our application to add user support. 8 steps

    Password Resets and Testing

    Logging in and out of a web application is only half the battle. If a user forgets their password, it is important to have a way for them to reset it. In this stage we'll implement a way of resetting a forgotten password while writing tests along the way. 13 steps


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

Attended this course?

Back to Top

 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top