public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Formally deprecate the old secret key generator
NZKoz (author)
Wed Aug 27 06:18:07 -0700 2008
commit  b7cd4ded9350fff5edee2298dc04a55e6b285233
tree    bd4137783ff209223ab55575a8f6c4fdf8c50c73
parent  b3411ff59eb1e1c31f98f58f117a2ffaaf0c3ff5
...
17
18
19
 
20
21
...
17
18
19
20
21
22
0
@@ -17,5 +17,6 @@ module Rails
0
     def generate_secret
0
       ActiveSupport::SecureRandom.hex(64)
0
     end
0
+    deprecate :generate_secret=>"You should use ActiveSupport::SecureRandom.hex(64)"
0
   end
0
 end

Comments