Assigns instance variables from the controller to the view.
# File action_view/base.rb, line 370 def assign_variables_from_controller @assigns.each { |key, value| instance_variable_set("@#{key}", value) } end
<code/>
<pre/>
<code/>and<pre/>for code samples.