Crazy looping in render partial

Change it to:

_pick.rhtml

<A HREF="http://example.com/admin/show/&lt;%=pick\.id%&gt;&quot;&gt;&lt;IMG SRC="<%= pick.image_url1%>" ALT="" WIDTH=90 HEIGHT=90 BORDER=10 /></A>

The :collection part of the render implies the loop "for pick in @picks" (actuallly, the @picks comes from the :collection and the 'pick' from the :partial).

And you probably should use link_to(image_tag(...), ...) as previously suggested.

-Rob

Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com Skype: rob.biedenharn