instance method request_origin

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18 Private

Available in: v2.2.3 v2.3.18

Signature

request_origin()

No documentation comment.

Source
# File actionpack/lib/action_controller/base.rb, line 1301
      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

Defined in actionpack/lib/action_controller/base.rb line 1301 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Base

Type at least 2 characters to search.

↑↓ navigate · open · esc close