<%= @author.full_name -%>
Posts
<% for post in @author.posts -%>
<%= post.title -%>
<%= post.text -%>
Tags
<%= post.tags.map(&:name).join(", ") %>
Comments
<% end -%>
<%= link_to 'Edit', edit_author_path(@author) %> |
<%= link_to 'Back', authors_path %>
by <%= mail_to comment.email, comment.author, :encode => "javascript" -%>
<%= comment.text -%>
<% end -%>