View Single Post
Old May 30th, 2006, 11:47 AM   #7
SirBob1701
Newbie
 
Join Date: May 2006
Posts: 20
Rep Power: 0 SirBob1701 is on a distinguished road
yes i do
here is all the code
 <% @trucks.each do |truck| %>
 <tr>
   <% unless (truck.oil.vehicleID != truck.vehicleID?) %%>
	        <% truck.oil.each do |oil| %>
	<td><%= truck.vehicle %>
	<td><%= oil.lastMile %></td>
	<td><%= oil.lastDate%></td>
	<td><%= oil.over%></td>
</tr>
<% end %>
</table>
<% end %>
</center>
SirBob1701 is offline   Reply With Quote