instance method
process_with_test
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
process_with_test(*args)
No documentation comment.
Parameters
-
argsrest
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