There's no documentation for this item.
Source Code
# File action_view/helpers/prototype_helper.rb, line 936 def loop_on_multiple_args(method, ids) record(ids.size>1 ? "#{javascript_object_for(ids)}.each(#{method})" : "#{method}(#{ids.first.to_json})") end
<code/>and<pre/>for code samples.