render :partial :collections failed with rails 2.2.2

With rails 2.2.2 this code :

<%= render :partial => 'order', :collections => @orders %>

with partial _order.html.erb :
<% div_for order do %>
  <%= order.title %><br/>
<% end %>

Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id

while this peace of code work fine :
<% @orders.each do |order| %>
  <%= render :partial => 'order', :locals => { :order => order } %>
<% end %>

It’s “collection” (singular), not “collections”.

http://api.rubyonrails.org/classes/ActionController/Base.html#M000512

Please use Lighthouse tracker for bug reports in the future. Thanks

Oootch !!! my greatest apologies ...