Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Andrew Meredith's Profile

GitHub User: kendru

Site: http://www.integritywebnc.com

Comments by Andrew Meredith

Avatar

Thanks for the screencast, Ryan! For a small project, this is much better than a full-blown authentication system like Devise.

I'm working on an app where I have a Customer model that should just store basic contact information and may optionally include a login with username and password. Is there any way to use has_secure_password if a password is set yet also allow for a Customer to be created without a password?