diff options
author | Thomas Fuchs <thomas@fesch.at> | 2006-09-07 12:57:39 +0000 |
---|---|---|
committer | Thomas Fuchs <thomas@fesch.at> | 2006-09-07 12:57:39 +0000 |
commit | cb6309bcc97cc28479b7a0de17766ca5cc654c13 (patch) | |
tree | 8ae8bac836102112f002308870d5dcb1eb3ac7be /actionpack | |
parent | 984312cf85d40b9fae9e88dfc80ae61f085b36d1 (diff) | |
download | rails-cb6309bcc97cc28479b7a0de17766ca5cc654c13.tar.gz rails-cb6309bcc97cc28479b7a0de17766ca5cc654c13.tar.bz2 rails-cb6309bcc97cc28479b7a0de17766ca5cc654c13.zip |
Ahem, now for real
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/prototype_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index 4318bbac4c..29c4da7153 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -685,7 +685,7 @@ module ActionView 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 |