Allow visitors to register or log in with a user account.
Collect the following information for users when registering them:
First name
Last name
E-mail
Password
Passwords should be stored as hashed strings instead of plain text so that no one can know what they are.
TIPS:
During registration, users must supply a password as well as password_confirmation.
we are not using Devise for this project
we are using has_secure_password gem along with the bcrypt gem. These are installed on the project, and since you have run bundle install, you have these already!
remember when creating controller use the bin/rails generate controller command
when creating model use: bin/rails generate model [fields]
Allow visitors to register or log in with a user account.
Collect the following information for users when registering them:
Passwords should be stored as hashed strings instead of plain text so that no one can know what they are.
TIPS:
Devise
for this projecthas_secure_password
gem along with thebcrypt
gem. These are installed on the project, and since you have run bundle install, you have these already!bin/rails generate controller
commandbin/rails generate model [fields]