Displaying 1 result from an estimated 1 matches for "prod_table".
Did you mean:
prob_table
2008 Dec 31
0
replace_html problem
Hi - trying to update a table with page.replace_html using a partial:
The view (index.html.erb):
[code=]<div id=''prod_table''>
<%= render :partial => ''product'' %>
</div>[/code]
The partial (_product.html.erb)
[code=]<table>
<% for product in @products %>
<tr>
<td><%= product.name %></td>
<td><%= product.vendor.name %></...