Title: <%= @post.title %>

Text: <%= @post.text %>

Comments

<%= render @post.comments %>

Add a comment:

<%= render "comments/form" %> <%= link_to 'Edit Post', edit_post_path(@post) %> | <%= link_to 'Back to Posts', posts_path %>