mirror of
https://github.com/github/rails.git
synced 2026-01-26 14:58:11 -05:00
Formally deprecate the old secret key generator
This commit is contained in:
@@ -17,5 +17,6 @@ module Rails
|
||||
def generate_secret
|
||||
ActiveSupport::SecureRandom.hex(64)
|
||||
end
|
||||
deprecate :generate_secret=>"You should use ActiveSupport::SecureRandom.hex(64)"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user