Does the render partial function take any type of collection? I tried passing a Set (@dogs) in and it doesn't seem to work:
<%= render(:partial => "dog", :collection => @dogs, :as => :dog) %>
I tried looking it up on the docs http://guides.rubyonrails.org/layouts_and_rendering.html but it doesn't seem to suggest any limitation on sets... Is there something I have missed or another way to find out?
Thanks.
PS But when I tried to convert the very set to an array and it worked.