title: How to rescue timeout issues (Ruby, Rails)
body: <p>most of my apps have a lot to do with web services and often due to the third party site, I get timeout issues.</p>
  
  <p>This is the error that I get:</p>
  
  <pre><code>  execution expired
    /usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill'
  </code></pre>
  
  <p>How do I rescue this kind of error in a rails app?</p>