Combining "stdout" with error

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  <%[email protected] %>
  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 <%
[email protected] %> 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
[email protected]
Web Programmer
The Santa Fe New Mexican, Inc.