dockyard/party_foul — pull request #76 by teeparham (2013-10-03 19:34:30+00:00)
Title: Use Rack Request

I noticed that the IP address is incorrect for requests that use a load balancer. We can use `Rack::Request` to take a better guess at the actual IP address.

In particular, see the `ip` method here: https://github.com/rack/rack/blob/master/lib/rack/request.rb#L354

In general, we can use `Rack::Request` to extract the url, ip_address, etc from the `env`. I will start working on it.