title: Evaluate a potential relative URI in the context of another in Ruby
body: <p>I have two URIs in a Ruby program. One is for sure an absolute URI and the other might be absolute or relative. I'd like to turn the second one in an absolute URI in the context of the first one, so if the first one is <a href="http://pupeno.com/blog" rel="noreferrer">http://pupeno.com/blog</a> and the second is /about, the result should be <a href="http://pupeno.com/about" rel="noreferrer">http://pupeno.com/about</a>. Any ideas how to do it?</p>