diff options
author | José Valim <jose.valim@gmail.com> | 2011-10-19 22:15:25 +0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-10-19 22:15:25 +0300 |
commit | ddbb2cae3146fc125375a0aae61bbaca9328b797 (patch) | |
tree | d698601b02923c4451c794bb99f8303d9ba93ee3 /actionpack/lib/action_dispatch | |
parent | 4a4927f753d7f41c0903ab3adfb73be8490c382e (diff) | |
download | rails-ddbb2cae3146fc125375a0aae61bbaca9328b797.tar.gz rails-ddbb2cae3146fc125375a0aae61bbaca9328b797.tar.bz2 rails-ddbb2cae3146fc125375a0aae61bbaca9328b797.zip |
Require securerandom as it is the proper dependency.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/request_id.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/request_id.rb b/actionpack/lib/action_dispatch/middleware/request_id.rb index 968ad6c28d..c515798d48 100644 --- a/actionpack/lib/action_dispatch/middleware/request_id.rb +++ b/actionpack/lib/action_dispatch/middleware/request_id.rb @@ -1,4 +1,4 @@ -require 'digest/md5' +require 'securerandom' module ActionDispatch # Makes a unique request id available to the action_dispatch.request_id env variable (which is then accessible through |