diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-12-21 17:55:57 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-12-21 17:55:57 +0530 |
commit | 0f510e970f00ac819d331f0415db3ac5ada7b861 (patch) | |
tree | eacd8b7ae6abc13408da48c61dcf180a436bb4cc /actionpack/lib/action_dispatch/middleware | |
parent | 893d38d7fde27b52f2b92579a1db59dc1e5e5a07 (diff) | |
download | rails-0f510e970f00ac819d331f0415db3ac5ada7b861.tar.gz rails-0f510e970f00ac819d331f0415db3ac5ada7b861.tar.bz2 rails-0f510e970f00ac819d331f0415db3ac5ada7b861.zip |
Using uuid which is supported in 1.9
Orignal commit #ada78066fdbccffb1da092a2470211fa252b3c99
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-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 bee446c8a5..d5a0b80fd5 100644 --- a/actionpack/lib/action_dispatch/middleware/request_id.rb +++ b/actionpack/lib/action_dispatch/middleware/request_id.rb @@ -33,7 +33,7 @@ module ActionDispatch end def internal_request_id - SecureRandom.hex(16) + SecureRandom.uuid end end end |