diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 15:39:28 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 15:39:28 -0800 |
commit | 0eca8111f26efe8f116a18cb86631d08f66e09d9 (patch) | |
tree | 40a605141430115c5c7937eaf5430e7af351aa43 /activesupport/lib | |
parent | 308876fca262736a5fa36dddb3990b27fbc6e64a (diff) | |
download | rails-0eca8111f26efe8f116a18cb86631d08f66e09d9.tar.gz rails-0eca8111f26efe8f116a18cb86631d08f66e09d9.tar.bz2 rails-0eca8111f26efe8f116a18cb86631d08f66e09d9.zip |
Autoload ActiveSupport::SecureRandom and ::MessageVerifier
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index 7337b55a21..11bd87af0d 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -55,9 +55,11 @@ require 'active_support/base64' require 'active_support/time_with_zone' -require 'active_support/secure_random' -require 'active_support/message_verifier' - require 'active_support/rescuable' +module ActiveSupport + autoload :MessageVerifier, 'active_support/message_verifier' + autoload :SecureRandom, 'active_support/secure_random' +end + I18n.load_path << File.dirname(__FILE__) + '/active_support/locale/en.yml' |