Skip to content

Instantly share code, notes, and snippets.


Hoang Dinh dhoangk07

  • Sai Gon, Viet Nam
View GitHub Profile
thebucknerlife /
Last active Jul 23, 2020
Simple Authentication in Rail 4 Using Bcrypt

#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


davfre /
Last active Aug 12, 2020
git commandline cheat-sheet
You can’t perform that action at this time.