Skip to content
Browse files

Allow any version of BCrypt

  • Loading branch information...
1 parent e5e305e commit d3ba7a3bf3a5c35984ac3d03940dde253a36857e @mperham mperham committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 activemodel/lib/active_model/secure_password.rb
View
1 activemodel/lib/active_model/secure_password.rb
@@ -44,7 +44,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"

0 comments on commit d3ba7a3

Please sign in to comment.
Something went wrong with that request. Please try again.