aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support.rb')
-rw-r--r--activesupport/lib/active_support.rb8
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'