View Single Post
Old May 30th, 2006, 10:43 AM   #5
SirBob1701
Newbie
 
Join Date: May 2006
Posts: 20
Rep Power: 0 SirBob1701 is on a distinguished road
i'm trying this and it won't work. and i don't know if this is the right way to restrict
compile error
./script/../config/../app/views/oil/time.rhtml:49: parse error, unexpected '>'
./script/../config/../app/views/oil/time.rhtml:50: parse error, unexpected kDO, expecting kEND
	        <% truck.oil.each do |oil| ; _erbout.concat "\n"
	                            ^
./script/../config/../app/views/oil/time.rhtml:63: parse error, unexpected kEND, expecting $

Extracted source (around line #49): 

46: 	<td width="21%"><p align="center"><i><b>Is it Over Due? </b></i></td>
47:  <% @trucks.each do |truck| %>
48:  <tr>
49:    <% unless (truck.oil.vehicleID != truck.vehicleID?) %%>
50: 	        <% truck.oil.each do |oil| %>
51: 	<td><%= truck.vehicle %>
52: 	<td><%= oil.lastMile %></td>
SirBob1701 is offline   Reply With Quote