Skip to content
Browse files

Ruby 1.9 compat: toplevel AS reference within BasicObject

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 30fa377 commit 41ac6c553fc3e41970795a11bee9611249063235 @jeremy jeremy committed Apr 1, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/prototype_helper.rb
View
2 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

0 comments on commit 41ac6c5

Please sign in to comment.
Something went wrong with that request. Please try again.