rails/rails — comment on commit 43433b3fb4b9c054e0bcaaa1f7456b3fececd268
File: activemodel/lib/active_model/secure_password.rb line 48
By cpjolicoeur:

How is this supposed to work as BCrypt::Password.new returns a hashed value, but unencrypted_password is the plaintext version of the password? How will they ever be ==?