Formally deprecate the old secret key generator

This commit is contained in:
Michael Koziarski
2008-08-27 15:18:07 +02:00
parent b3411ff59e
commit b7cd4ded93

View File

@@ -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