Firstly have a look at the generated html (View, Page Source or
similar in the browser) and see if it is what you expect. If it looks
ok then copy and paste it into the w3c html validator (google for it)
to check it is valid. See if that shows anything.
I am not sure what the <COL> tag is for there.
Colin
> views:
> christmas.html.erb
> <table border=1 width="25%">
> <th>Single Families</th>
> <col>
> <%= render :partial=>"christmas", :collection => @single %>
> </table>
>
Perhaps something like:
<table border=1 width="25%">
<tr>
<th>Single Families</th>
</tr>
<%= render :partial => "christmas", :collection => @single %>
</table>
--
Posted via http://www.ruby-forum.com/.
What if you rename your partial to something like
_christmas_row.html.erb?
And if there is another table in the same view, it might be that your
generated html is not closing properly before attempting to generate the
christmas table...
Feel free to post the view in its entirety, because the solution
*should* be relatively simple.