1 2 3 4 5 6 7
<ul> <% posts.each do |post| %> <li> <a href=<%= path_to post['id'] %>><%= post['title'] %></a> <%= format_date post['date'] %> </li> <% end %> </ul>