rails/rails — Issue #3822: Rendering collection to partial shorthand doesn't use inheritance
Author: woahdae
Created: 2011-12-01 03:19:49+00:00
State: open

Given the partial `app/views/application/_product.html.haml`, I expected this to work:

= render @products

But got a "Missing partial products/product". The following equivalent works:

= render :partial => 'camp', :collection => @camps

Which is relatively concise, but still wondering if the shorthand should have worked.