instance method reset_host_memos

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

reset_host_memos()

The host, and the port derived from it, are memoized on the request once read. Forget them so that a test can change the host afterwards.

Source
# File actionpack/lib/action_dispatch/testing/test_request.rb, line 76
      def reset_host_memos
        @raw_host_with_port = @host = @port = nil
      end

Defined in actionpack/lib/action_dispatch/testing/test_request.rb line 76 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::TestRequest

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close