title: rails, how to get params from url string?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/916067/how-do-i-easily-parse-a-url-with-parameters-in-a-rails-test">How do I easily parse a URL with parameters in a Rails test?</a>  </p>
  </blockquote>
  
  
  
  <p>sorry for my english...</p>
  
  <p>I have in my archives.rb model a method to get all src attributes from a html content, I am getting src's like:</p>
  
  <p><code>http://localhost:3000/es/editor/archives/28/show_image?x=142&amp;y=142</code></p>
  
  <p>I need to get the params from that url, specifically: <strong>id, x, y</strong></p>
  
  <p>Thanks,
  Regards.</p>