#1 ✓resolved
Robert Thau

render :partial :collection fails in Rails 2.1

Reported by Robert Thau | July 10th, 2008 @ 11:09 PM

Hi. I just ran into some apparent misbehavior in

your inherit_views plugin under Rails 2.1. A

<% render :partial => 'partial', :collection => ... %>

was no longer searching up the inheritance

chain, perhaps because the internal routine

'render_partial_collection' was not calling

'render_partial', but rather locating and

instantiating the template itself (well, via

one of two private helper routines).

What's attached is my quick stab at a patch

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

inherit_views enables inheritance of views along a controller class heirachy

People watching this ticket


Referenced by