title: How to create a delete link for a related object in Ruby on Rails?
body: <p>So let's say I have Posts and Comments and the url for show is <code>/posts/1/comments/1</code>. I want to create a link to delete that comment in the comments controller destroy method. How do I do that?</p>