Displaying 1 result from an estimated 1 matches for "stuff_inside_the_td".
2006 Feb 08
2
Idiomatic way to change partial''s behavior based on caller
Guys,
I have a partial that is shared by many controllers, and this partial
has a link that needs to do different things based on which controller
calls it.
So, the partial looks like this:
<!-- _part.rhtml -->
<tr>
<td><%=part.number%></td>
<td><%=part.associated_part_number%></td>
<td><%=part.drawings%></td>