From cb6309bcc97cc28479b7a0de17766ca5cc654c13 Mon Sep 17 00:00:00 2001 From: Thomas Fuchs Date: Thu, 7 Sep 2006 12:57:39 +0000 Subject: [PATCH] Ahem, now for real git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5062 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 4318bbac4ce8d..29c4da715377e 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -685,7 +685,7 @@ def update_page_tag(&block) protected def loop_on_multiple_args(method, ids) - record (ids.size>1 ? + record(ids.size>1 ? "#{javascript_object_for(ids)}.each(#{method})" : "#{method}(#{ids.first.to_json})") end