- Jen
- Nick
- Erin
- Marcella - Knitting-Revelry
- Robbie - Trails/hikes
- Anna - Trails/hikes
- Kerry - Refuge donations app
#Simple Authentication with Bcrypt
This tutorial is for adding authentication to a vanilla Ruby on Rails app using Bcrypt and has_secure_password.
The steps below are based on Ryan Bates's approach from Railscast #250 Authentication from Scratch (revised).
You can see the final source code here: repo. I began with a stock rails app using rails new gif_vault
##Steps
Feedback Sandwiches
Positive! 🙂
Constructive Feedback
I can tell that you're quick to pick up new things, but you sometimes leave me behind because I need a little more time to think about the problem that we're trying to solve. It would help me if you could explain your thinking and implementation frequently so that I can keep up and contribute.
I know you care a lot about this project, and sometimes when we get stuck on a feature for a while, I can see that you get really frustrated. Both of us care about submitting a high-quality project, but it would be more beneficial if we could take a break to cool off or try to destress in another way.
Define CRUD.
There are seven verb + path combinations that are necessary in a basic Sinatra app in order to provide full CRUD functionality. List each of the seven combinations, and explain what each is for.
Why do we use set method_override: true?
Explain the difference between value and name in this line: <input type='text' name='task[title]' value="<%= @task.title %>"/>.
What are params? Where do they come from?
one-to-one relationship.one-to-many relationship.many-to-many relationship.