Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow any version of BCrypt

  • Loading branch information...
commit d3ba7a3bf3a5c35984ac3d03940dde253a36857e 1 parent e5e305e
@mperham mperham authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.