title: Set custom timeout in Net::HTTP::Get.new with Rails
body: <p>I'm using this code to scraping external html files </p>
  
  <blockquote>
  <pre><code>link = URI.parse(url)
  request = Net::HTTP::Get.new(link.path)
  response = Net::HTTP.start(link.host, link.port) {|http|
    http.request(request)
  }
  </code></pre>
  </blockquote>
  
  <p>Works great but with slowed web pages sometimes responds timeout, so I need set a timeout limit per connection. Any idea?</p>