Type:
Module

Action View Context

Action View contexts are supplied to Action Controller to render a template. The default Action View context is ActionView::Base.

In order to work with ActionController, a Context must just include this module. The initialization of the variables used by the context (@output_buffer, @view_flow, and @virtual_path) is responsibility of the object that includes this module (although you can call #_prepare_context defined below).

_prepare_context
  • References/Ruby on Rails/Rails/Classes/ActionView/ActionView::Context

_prepare_context() Instance Public methods Prepares the context by setting the

2025-01-10 15:47:30
_layout_for
  • References/Ruby on Rails/Rails/Classes/ActionView/ActionView::Context

_layout_for(name=nil) Instance Public methods Encapsulates the interaction with

2025-01-10 15:47:30