Also, it doesn't actually return a string, it's actually returning a URI object.  Sometimes returns nil, which isn't a string either, it's a NilClass :-)  Tricky.