The user model rails allows you to call
1 2 3 4 5
You will likely want to add validation for the email address as well, but that’s outside the scope of this…
The has_secure_password setting automatically adds validation for mismatched password between the password and password confirmation fields.
Helper Methods: specifically :current_user
See the post on this.
can also add options for ssl with the simple line in the ApplicationController:
This will only be reflected in production and test environments NOT development…