San Francisco

Teacher

Attendance

5 students were there

March 27, 2014

Devise for Authentication and More

UPDATE: Thursday, 3/20 turned out to be a bad day for turnout, so we're pushing this back a week to 3/27. Please send me an email to [email protected] if the new time isn't good. We can use devise for managing user registrations, logins, and confirmations. In this week's class we'll swap out a custom authentication method in favor of using devise.

Note: this class is starting 30 minutes later than last week in an effort to not make anyone rush from work. Feel free to show up at 5:30pm to get some extra help or a jumpstart on the class.

Sign up and login. They're not the most interesting part of any website we build, yet they're almost always required in order to ensure some degree of privacy and data integrity. Fortunately, in rails we have a robust pre-existing solution devise which lets us set up our custom login exactly as we need it. Should our users have to click on a confirmation link before they're allowed onto the site? Should they be able to reset their passwords? We can configure these answers and more with devise.

Devise is also a great example of a Rails Engine, a self-contained piece of a rails app that that you can attach to an existing application.



3pm Pacific - 5pm Pacific on March 27, 2014 at Coshx Labs
5 students were there

Whiteboard

Please, sign in to see the Whiteboard