# File lib/action_dispatch/http/request.rb, line 165 def remote_ip @remote_ip ||= (@env["action_dispatch.remote_ip"] || ip).to_s end