aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-10-19 22:15:25 +0300
committerJosé Valim <jose.valim@gmail.com>2011-10-19 22:15:25 +0300
commitddbb2cae3146fc125375a0aae61bbaca9328b797 (patch)
treed698601b02923c4451c794bb99f8303d9ba93ee3
parent4a4927f753d7f41c0903ab3adfb73be8490c382e (diff)
downloadrails-ddbb2cae3146fc125375a0aae61bbaca9328b797.tar.gz
rails-ddbb2cae3146fc125375a0aae61bbaca9328b797.tar.bz2
rails-ddbb2cae3146fc125375a0aae61bbaca9328b797.zip
Require securerandom as it is the proper dependency.
-rw-r--r--actionpack/lib/action_dispatch/middleware/request_id.rb2
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