- <td><%=h merchandise.id %></td>
- <% for column in Merchandise.content_columns %>
- <td><%=h merchandise.send(column.name) %></td>
- <% end %>
- <td><%= link_to 'Show', :action => 'show', :id => merchandise %></td>
+ <td><%=h merchandise.id %></td>
+ <td><%=link_to merchandise.title.to_s, :action => 'show', :id => merchandise %></td>
+ <td><%=h merchandise.quantity %></td>
+ <td><%=h number_to_currency(merchandise.price) %></td>