From 008becb5a26b4549cf958ecf389c37284b4685ba Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 7 Jan 2008 08:08:22 +0000 Subject: [PATCH] Use explicit toplevel namespace for constant reference in AS::BasicObject git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/prototype_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index 68e22ff032627..d9c980cd0d706 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -1204,7 +1204,7 @@ def zip(variable, *arguments, &block) append_enumerable_function!("zip(#{arguments_for_call arguments}") if block function_chain[-1] += ", function(array) {" - yield ActiveSupport::JSON::Variable.new('array') + yield ::ActiveSupport::JSON::Variable.new('array') add_return_statement! @generator << '});' else