How ActiveModel’s has_secure_password works with Bcrypt
WHAT IS HAS_SECURE_PASSWORD? has_secure_password is an ActiveRecord macro that works in conjunction with a gem called Bcrypt. To start, add the Bcrypt gem to your Gemfile and add has_secure_password to your userRead More…