diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 22:39:11 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 22:39:11 -0800 |
commit | ce50ca1baf29f2edc829011ffc247e68ebd995c3 (patch) | |
tree | 70e6a7530ee146277b9dec666849eeb817e28522 /railties/lib/rails_generator | |
parent | cb4968171020bf3bb8f713cd69fe035ee5a3d608 (diff) | |
download | rails-ce50ca1baf29f2edc829011ffc247e68ebd995c3.tar.gz rails-ce50ca1baf29f2edc829011ffc247e68ebd995c3.tar.bz2 rails-ce50ca1baf29f2edc829011ffc247e68ebd995c3.zip |
Explicitly require AS::Deprecation for the SecretKeyGenerator. Bring in ActiveSupport::TestCase for its tests.
Diffstat (limited to 'railties/lib/rails_generator')
-rw-r--r-- | railties/lib/rails_generator/secret_key_generator.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/secret_key_generator.rb b/railties/lib/rails_generator/secret_key_generator.rb index 553811d35d..7dd495a2f5 100644 --- a/railties/lib/rails_generator/secret_key_generator.rb +++ b/railties/lib/rails_generator/secret_key_generator.rb @@ -1,3 +1,5 @@ +require 'active_support/deprecation' + module Rails # A class for creating random secret keys. This class will do its best to create a # random secret key that's as secure as possible, using whatever methods are |