<% for post in @posts %>

<%= post.title %>

<%= post.created_at.strftime('%e %b %Y') %>

<%= post.body %>
<% end %>