method
local_request?
rails latest stable - Class:
ActionController::Rescue
local_request?(#:doc:)protected
True if the request came from localhost, 127.0.0.1. Override this method if you wish to redefine the meaning of a local request to include remote IP addresses or other criteria.