diff options
author | Akira Matsuda <ronnie@dio.jp> | 2008-11-04 19:33:39 +0900 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-19 09:57:09 -0800 |
commit | baa8ee5eb1056d07c6623c37a57818317cd5bcc4 (patch) | |
tree | cb2745e19b45e43970a47141e72f4771d8e38559 /railties/lib | |
parent | 8e4624be9e55cd0865b307be70a1e6287ec033ca (diff) | |
download | rails-baa8ee5eb1056d07c6623c37a57818317cd5bcc4.tar.gz rails-baa8ee5eb1056d07c6623c37a57818317cd5bcc4.tar.bz2 rails-baa8ee5eb1056d07c6623c37a57818317cd5bcc4.zip |
Require active_support/secure_random for Ruby 1.9.
[#1326 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index d68c425871..347ce6352c 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -1,5 +1,6 @@ require 'rbconfig' require 'digest/md5' +require 'active_support/secure_random' class AppGenerator < Rails::Generator::Base DEFAULT_SHEBANG = File.join(Config::CONFIG['bindir'], |