Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Formally deprecate the old secret key generator

  • Loading branch information...
commit b7cd4ded9350fff5edee2298dc04a55e6b285233 1 parent b3411ff
@NZKoz NZKoz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  railties/lib/rails_generator/secret_key_generator.rb
View
1  railties/lib/rails_generator/secret_key_generator.rb
@@ -17,5 +17,6 @@ def initialize(identifier)
def generate_secret
ActiveSupport::SecureRandom.hex(64)
end
+ deprecate :generate_secret=>"You should use ActiveSupport::SecureRandom.hex(64)"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.