# File lib/action_controller/rescue.rb, line 167 def local_request? #:doc: request.remote_addr == LOCALHOST and request.remote_ip == LOCALHOST end