If we want to pass a collection to partial, we do like this:
<%= render :partial => "post", :collection => @posts %>
If we want to pass a single object within a custom variable, we do this:
<%= render :partial => "item", :locals => { :item => @advertisement } %>
Now what should I do to to pass a collection, "proxying" it through a custom variable (like the second case)?