instance method escape_cookie

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.1.12 Private — implementation detail, not part of the public API

Signature

escape_cookie(name, value)

No documentation comment.

Parameters

name req
value req
Source
# File actionpack/lib/action_dispatch/testing/test_request.rb, line 85
      def escape_cookie(name, value)
        "#{Rack::Utils.escape(name)}=#{Rack::Utils.escape(value.to_s)}"
      end

Defined in actionpack/lib/action_dispatch/testing/test_request.rb line 85 · 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