提交 c31b9002 编写于 作者: G Guillermo Iguaran 提交者: Rafael Mendonça França

Merge pull request #12635 from mperham/4-0-stable

Allow any version of BCrypt
上级 6c570648
......@@ -46,7 +46,6 @@ def has_secure_password(options = {})
# This is to avoid ActiveModel (and by extension the entire framework)
# being dependent on a binary library.
begin
gem 'bcrypt-ruby', '~> 3.1.2'
require 'bcrypt'
rescue LoadError
$stderr.puts "You don't have bcrypt-ruby installed in your application. Please add it to your Gemfile and run bundle install"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册