method

process_with_test

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::Base

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.

process_with_test(*args) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/test_process.rb, line 17
    def process_with_test(*args)
      returning process_without_test(*args) do
        @assigns = {}
        (instance_variable_names - @@protected_instance_variables).each do |var|
          value = instance_variable_get(var)
          @assigns[var[1..-1]] = value
          response.template.assigns[var[1..-1]] = value if response
        end
      end
    end
Register or log in to add new notes.