There's no documentation for this item.
Source Code
# File action_controller/base.rb, line 1218 def add_instance_variables_to_assigns @@protected_variables_cache ||= Set.new(protected_instance_variables) instance_variable_names.each do |var| next if @@protected_variables_cache.include?(var) @assigns[var[1..-1]] = instance_variable_get(var) end end
<code/>and<pre/>for code samples.