instance method process_with_test

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

process_with_test(*args)

No documentation comment.

Parameters

args rest
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

Defined in actionpack/lib/action_controller/test_process.rb line 17 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Base

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