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