Please, first of all be sure to place the correct indentation in your template, this may mess up things. Te last paragraph with the anchor link seems to be mistyped:
h2 Comments
- @post.comments.each do |comment|
p
strong Commenter:
= comment.commenter
p
strong Comment:
= comment.body
p
= link_to "Delete Comment", [comment.post, comment], method: :delete, data: { confirm: 'Are you sure?' }
Then, you should look at the rails server logs to see what happens when you click on the link. If the HTML link looks fine, a call to the server must be there, with all the information you need to debug the call.