RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: forms xAuthentication x
Guest User Record
Episode #393Nov 21, 2012101 comments

Guest User Record

Instead of presenting a sign up form to the user, consider creating a temporary guest record so the user can try out the application without filling in their information up front. They can then become a permanent member afterwards. (9 minutes)
Authentication from Scratch (revised)
Episode #250Feb 25, 2012100 comments

Authentication from Scratch (revised)

Simple password authentication is easy to do with has_secure_password. Here you will learn how to make a complete Sign Up, Log In, and Log Out process as well as restrict access to certain actions. (13 minutes)
Remember Me & Reset Password
Episode #274Jul 11, 2011167 comments

Remember Me & Reset Password

It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten password" link. (12 minutes)
OmniAuth Identity
Episode #304Dec 05, 201185 comments

OmniAuth Identity

With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider. (11 minutes)
Authentication with Sorcery
Episode #283Sep 12, 201175 comments

Authentication with Sorcery

Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you. (10 minutes)
Introducing Devise
Episode #209Apr 12, 2010116 comments

Introducing Devise

Devise is a full-featured authentication solution which handles all of the controller logic and form views for you. Learn how to set it up in this episode. (10 minutes)
Authentication from Scratch
Episode #250Jan 24, 2011129 comments

Authentication from Scratch

Password authentication is not too complicated to make from scratch, it will also help to get a better understanding of how it works. (15 minutes)
Customizing Devise
Episode #210Apr 19, 201074 comments

Customizing Devise

Here we dive deeper into Devise by customizing how the views, routing, validations, and authentication works. (7 minutes)
Authlogic
Episode #160May 04, 2009127 comments

Authlogic

Authentication can get very complex. In this episode I show how Authlogic can handle this complexity while you stay in control of how it is presented to the user. (14 minutes)