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>