RailsRequestId

Web requests in Rails get assigned a unique request id. To access this id in a threadsafe manner, you can simply

::RailsRequestId.get

Installation

Add this to your Gemfile

gem 'rails_request_id'

Get in touch!

If you’re using rails_request_id, I’d love to hear from you. Drop me a line and tell me what you think at: kunal+rails_request_id@techthumb.in

Contributing

It’s on GitHub, you know what to do!