method

request_for_component

rails latest stable - Class: ActionController::Components::InstanceMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

request_for_component(controller_name, options)
private

Create a new request object based on the current request. The new request inherits the session from the current request, bypassing any session options set for the component controller’s class