Use #remote_ip instead of REMOTE_ADDR
Use #remote_ip instead of REMOTE_ADDR

When Rails is behind a proxy server, REMOTE_ADDR will be the IP of the
proxy rather than the user's actual IP. The `request.remote_ip` method
properly accounts for this.

See https://github.com/rails/rails/pull/33489 for a similar change in
Rails.

markets/invisible_captcha,markets/invisible_captcha