render :partial :collection fails in Rails 2.1
-
Ian White
(from [9dd29e557965f7d0a4e900e83030c690386c26fe]) Added specs for [#1 render :partial :collection fails in Rails 2.1] No failures yet http://github.com/ianwhite/inher...
-
Ian White
- State changed from new to open
Hi Robert, so sorry this has taken so long
I;ve added some specs testing this, but am not getting the failure on 2.1 - could you look at them http://github.com/ianwhite/inher...
and tell me if I'm testing the right thing?
Summary:
if i have
sub/_partial.html.erb sub/render_it.html.erb super/_partial.html.erb render_it.html.erb: <%= render :partial => 'partial', :collection => [1,2,3] %>when rendered from sub it renders 3 of the sub/_partial
when rendered from super it renders 3 of the super/_partial
Is this the aberrant stuff, or some other behaviour?
Cheers, Ian
-
Ian White
Also not getting this on the edge version
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
