# File lib/action_view/helpers/prototype_helper.rb, line 911 def assign(variable, value) record "#{variable} = #{javascript_object_for(value)}" end