I\'m trying to create unique anchors for every comment on my blog so a person can take the url of an anchor and paste it in their browser, which will automatically load the
this is best way:
<%= link_to '#', post_path(comment.post, anchor: dom_id(comment.id)) %>