Anonymous
public text v1 · immutable<table>
<tr>
<th>
<%= ['Article Category', 'Author', 'Content length', 'Created on', 'Modified on'].join('</th><th>') %>
</th>
</tr>
<% @articles.each do |a| -%>
<tr>
<td><%= a.article_category.name %></td>
<td><%= a.author.user %></td>
<td><%= a.content.length %></td>
<td><%= a.created_on %></td>
<td><%= a.updated_at %></td>
</tr>
<% end -%>
</table>