title: Ruby URI - How to get entire path after URL
body: <p>How do you get the full path of the URL given the following</p>
  
  <pre><code>uri = URI("http://foo.com/posts?id=30&amp;limit=5#time=1305298413")
  </code></pre>
  
  <p>I just want <code>posts?id=30&amp;limit=5#time=1305298413</code></p>
  
  <p>I tried uri.path and that returns /posts and ui.query returns 'id=30&amp;limit=5'</p>