O'Reilly logo

Learning Devise for Rails by Nia Mutiara, Hafiz, Giovanni Sakti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Authenticating Your Application with Devise

A "state of the art" application sometimes requires more customizations from Devise, such as customization for signing in, updating accounts, resetting a user's password, or account confirmation. When you first install Devise with its default settings, you will not get these features. That's why you will need to dig deeper to have a more comprehensive understanding about Devise.

Signing in using authentication other than e-mails

By default, Devise only allows e-mails to be used for authentication. For some people, this condition will lead to the question, "What if I want to use some other field besides e-mail? Does Devise allow that?" The answer is yes; Devise allows other attributes to be used ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required