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?
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?