Tag Archives: ip

User IP

An IP is a valuable identifier. How can you find the user’s IP in Rails? It’s located in request.env['REMOTE_ADDR']. The best part is, for local testing, you can even set a value to the variable yourself, and spoof your IP! Continue reading

Posted in Development | Tagged , , | Comments Off