diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2010-08-11 21:56:22 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-02 11:54:04 +0200 |
commit | 38a421b34d0b414564e919f67d339fac067a56e6 (patch) | |
tree | 049be1f37edf18d380b9e8716e2a3165b67be71e /activesupport/lib/active_support/secure_random.rb | |
parent | c5c839f75f332b02f85fc74f5d1b1347cba411ff (diff) | |
download | rails-38a421b34d0b414564e919f67d339fac067a56e6.tar.gz rails-38a421b34d0b414564e919f67d339fac067a56e6.tar.bz2 rails-38a421b34d0b414564e919f67d339fac067a56e6.zip |
Setup explicit requires for files with exceptions. Removed them from autoloading.
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/lib/active_support/secure_random.rb')
-rw-r--r-- | activesupport/lib/active_support/secure_random.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/secure_random.rb b/activesupport/lib/active_support/secure_random.rb index 488a7e14a7..e2fbd0fd81 100644 --- a/activesupport/lib/active_support/secure_random.rb +++ b/activesupport/lib/active_support/secure_random.rb @@ -1,3 +1,5 @@ +require 'action_controller/metal/exceptions' + begin require 'securerandom' rescue LoadError |