diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-08-27 15:18:07 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-08-27 15:18:07 +0200 |
commit | b7cd4ded9350fff5edee2298dc04a55e6b285233 (patch) | |
tree | bd4137783ff209223ab55575a8f6c4fdf8c50c73 /railties/lib/rails_generator | |
parent | b3411ff59eb1e1c31f98f58f117a2ffaaf0c3ff5 (diff) | |
download | rails-b7cd4ded9350fff5edee2298dc04a55e6b285233.tar.gz rails-b7cd4ded9350fff5edee2298dc04a55e6b285233.tar.bz2 rails-b7cd4ded9350fff5edee2298dc04a55e6b285233.zip |
Formally deprecate the old secret key generator
Diffstat (limited to 'railties/lib/rails_generator')
-rw-r--r-- | railties/lib/rails_generator/secret_key_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/secret_key_generator.rb b/railties/lib/rails_generator/secret_key_generator.rb index e92ca125a2..553811d35d 100644 --- a/railties/lib/rails_generator/secret_key_generator.rb +++ b/railties/lib/rails_generator/secret_key_generator.rb @@ -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 |