and i use 'bcrypt' gem to store password in Database. Like this in comments_controller.rb @comment = Comment.new(comment_params) bcrypted_pwd = BCrypt::Password ...
確定! 回上一頁