Vince W. wrote:
Is there a quick way to capture the IP address of the visiting user in rails? Is it specific to the web server?
Use request.remote_ip in your controller.
Internally, this checks the environment variables HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR and REMOTE_ADDR, so it should work for most server setups.
Chris