Combining "stdout" with error


#1

im getting this error page with fastcgi (not sure if that matters)

Showing /tests/_taxfielddisp.rhtml where line #8 raised:

undefined method `each’ for #Taxfield:0x40c024c4

Extracted source (around line #8):

  1  TEST
  2  <%
  3      @taxfields = Taxfield.find_by_displaygroup('taxes')
  4  %>
  5  <%=@taxfields.inspect %>
  6  UMM
  7  <%
  8      for column in @taxfields
  9          puts column.inspect
 10      end
 11  %>

the error seems to be on line 8, as it says. but the <%
=@taxfields.inspect %> seems to be going to /dev/null
so how can i simply get all output before the error to display for me
on this page.


Hunter Peress
removed_email_address@domain.invalid
Web Programmer
The Santa Fe New Mexican, Inc.