method
request_origin

request_origin()
private
Hide source
# File actionpack/lib/action_controller/base.rb, line 1220 def request_origin # this *needs* to be cached! # otherwise you'd get different results if calling it more than once @request_origin ||= "#{request.remote_ip} at #{Time.now.to_s(:db)}" end