123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Cookies

Do not use. This module is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: actionpack/lib/action_controller/metal/cookies.rb

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

append_features, prepend_features

Instance Method Summary

  • #cookies private

    The cookies for the current request.

DSL Calls

included

[ GitHub ]


9
10
11
# File 'actionpack/lib/action_controller/metal/cookies.rb', line 9

included do
  helper_method :cookies if defined?(helper_method)
end

Instance Method Details

#cookies (private)

The cookies for the current request. See ::ActionDispatch::Cookies for more information.

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/cookies.rb', line 16

def cookies # :doc:
  request.cookie_jar
end