title: How do you use anchors for IDs in routes in Rails 3?
body: <p>Imagine a blog with <code>posts</code> and <code>comments</code>. An individual comment's URL might be <code>posts/741/comments/1220</code>.</p>
  
  <p>However, I'd like to make the URL <code>posts/741#1220</code>, or even <code>posts/741#comment-1230</code>.</p>
  
  <p>What's the least intrusive way of doing this, so that <code>redirect_to comment_path(my_comment)</code> points to the correct URL?</p>