title: How to test login from multiple IP addresses in Rails
body: <p>At the request of a customer, I had to implement sending a notification email every time the application detects two active sessions for the same user from different IP addresses. How do you test this?</p>