method
external_request_id
external_request_id(env)
private
Hide source
# File actionpack/lib/action_dispatch/middleware/request_id.rb, line 25 def external_request_id(env) if request_id = env["HTTP_X_REQUEST_ID"].presence request_id.gsub(/[^\w\-]/, "").first(255) end end