title: mechanize how to get current url
body: <p>I have this code</p>
  
  <pre><code>require 'mechanize'
  @agent = Mechanize.new
  page = @agent.get('http://something.com/?page=1')
  next_page = page.link_with(:href=&gt;/^?page=2/).click
  </code></pre>
  
  <p>As you can see this code should go to the next page.</p>
  
  <p>The <code>next_page</code> should have url <code>http://something.com/?page=2</code></p>
  
  <p>How to get current url for <code>next_page</code>? </p>