search for: cartno

Displaying 1 result from an estimated 1 matches for "cartno".

Did you mean: partno
2006 Mar 11
11
Noob needs help with ''if'' block
...ee 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) %></td> <% end %> <td><%= link_to '...