diff options
author | Hongli Lai (Phusion <hongli@phusion.nl> | 2008-08-27 12:42:08 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-08-27 15:08:16 +0200 |
commit | b3411ff59eb1e1c31f98f58f117a2ffaaf0c3ff5 (patch) | |
tree | c0bacd1a0ffa73149ce3eb81b5ef6a345093147d /activesupport/lib/active_support.rb | |
parent | 9dbde4f5cbd0617ee6cce3e41d41335f9c9ce3fd (diff) | |
download | rails-b3411ff59eb1e1c31f98f58f117a2ffaaf0c3ff5.tar.gz rails-b3411ff59eb1e1c31f98f58f117a2ffaaf0c3ff5.tar.bz2 rails-b3411ff59eb1e1c31f98f58f117a2ffaaf0c3ff5.zip |
Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.
SecureRandom has a few minor security enhancements and can be used as a drop-in replacement
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#913 state:committed]
Diffstat (limited to 'activesupport/lib/active_support.rb')
-rw-r--r-- | activesupport/lib/active_support.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index ae3e2360cd..cb68ff27f0 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -55,6 +55,8 @@ require 'active_support/base64' require 'active_support/time_with_zone' +require 'active_support/secure_random' + I18n.populate do I18n.load_translations File.dirname(__FILE__) + '/active_support/locale/en-US.yml' end |