Displaying 1 result from an estimated 1 matches for "carttransact".
2006 Mar 11
11
Noob needs help with ''if'' block
...''s one of those things where I can''t
see it because it''s too simple, so I''m hoping that maybe one of you can
tell me what''s wrong by looking at the code? Here''s the code I''m using:
---------------------------------------------
<% @carttransactions.each do |carttransaction| %>
<%= @cartno %><%= carttransaction.cart.id %>
<% if (@cartno == nil ) || (@cartno == carttransaction.cart.id ) %>
<tr>
<% for column in Carttransaction.content_columns %>
<td><%=h carttransaction.send(column.name) %></t...