RailsCasts Pro episodes are now free!

Learn more or hide this

Alex Tambellini's Profile

GitHub User: atambo

Site: http://www.alextambellini.com

Comments by Alex Tambellini

Avatar

@Ryan BCrypt actually handles the salting for you automatically, so there is no need to store the sale separately.

Also, DHH is adding has_secure_password to rails which does all the password stuff for you using BCrypt. See:
https://github.com/rails/rails/commit/bd9dc4ff23ab1e185df6ccf35d6058c0a3d234ce