diff options
Diffstat (limited to 'railties/lib')
-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 |