I have a nested form where I display a few fields for a has_many relationship. When I render a partial which contains the fields my tr and td tags are being removed. the div tag is not however. What can I do to make sure the tags aren't being stripped?_form.html.erb\[code\]<%= form_for @invoice do |f>...<table> <th>Qty</th> <th>Description</th> <th>Price</th> <th>EA/C</th> <th>Amount</th> <%= f.fields_for :invoice_line_items do |builder| %> <%= render 'invoice_line_item_fields', :f => builder %> <% end %></table><% end %>\[/code\]The table tag when viewed in the browser source code only contains the headers and closes before the nested form partial is rendered. The partial completely strips all of the tr and td elements._invoice_line_item_fields\[code\]<div> <tr> <td> <%= f.text_field :qty %> </td> <td> <%= f.text_field :description %> </td> <td> <%= f.text_field rice %> </td> <td> <%= f.text_field :ea_c %> </td> <td> <%= text_field_tag :amount %> </td> <td> <%= f.hidden_field :_destroy %> <%= link_to "remove", "#", :class => "remove_line_items" %> </td> </tr></div>\[/code\]