As discussed in issue #113
No need to use Engine::generate_salt
Instead of using Engine::generate_salt and Engine::hash_secret, we can replace
them with Password.create
No need set the salt separately in the fixtures
Amend the test cases: we no longer generate a salt
Reduce the number of fields in the users table
BCrypt::Password handles the salt directly so we don't need to store it in a
Update the .gemspec with the new version of bcrypt
Thanks for this. I had been meaning to add this. I am not yet certain if I want this in the next version bump or in a major release, but I hope to get it pulled in soon.
I had to look into this for another project so I figured you may be able to use bits or all of it, whatever works for you.