Displaying 1 result from an estimated 1 matches for "suppnam".
Did you mean:
suppname
2006 Mar 18
3
Nil result on find & pretty print
...around the following error. (The agile development book suggests that
the nil error only results from a search on a key and not from a search
on other fields but I am still having the problem.)
"You have a nil object when you didn''t expect it!
The error occured while evaluating nil.suppname"
Sorry the code is such a mess at the moment because I have tried many different possible solutions.
Part of the code follows:
<% require ''pp'' %>
<% for sdoc in @sdocs %>
<tr>
<td>( <%= pp Sdoc.columns.map { |col| col.name } %> ) <%=...