Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fragment caching applied
<table>
<% cache do %>
<% @posts.each do |post| %>
<tr>
<td><strong><%= post.title %></strong></td>
</tr>
<tr>
<td><em>Posted: <%= post.created_at.strftime('%a %d %B %Y - %H:%M') %></em></td>
</tr>
<tr>
<td><%= post.content %>... [ <%= link_to 'Read Post', post %> ]</td>
</tr>
<% end %>
<% end %>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.