set_remote_address header: "X-Forwarded-For”
rails server
as Rails::Server
is only defined when that command is run. However we use the puma
binary in production, Rails::Server
is not defined and Puma::Server
is always defined. Is there a way I can detect that I am running inside a puma server?