diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-21 05:12:24 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-21 05:12:24 -0800 |
commit | 1f75a1fea12ead1370113ea1be0272667ab7da88 (patch) | |
tree | eacd8b7ae6abc13408da48c61dcf180a436bb4cc /actionpack/lib/action_dispatch | |
parent | 893d38d7fde27b52f2b92579a1db59dc1e5e5a07 (diff) | |
parent | 0f510e970f00ac819d331f0415db3ac5ada7b861 (diff) | |
download | rails-1f75a1fea12ead1370113ea1be0272667ab7da88.tar.gz rails-1f75a1fea12ead1370113ea1be0272667ab7da88.tar.bz2 rails-1f75a1fea12ead1370113ea1be0272667ab7da88.zip |
Merge pull request #4095 from arunagw/using_uuid
Using uuid which is supported in 1.9
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 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 |