On Wed, Oct 22, 2008 at 10:11:33AM -0400, Mike Richards wrote:
> I'm building a little test app here that validates a given URL. I made
> a method outside of Shoes.app and it works fine, but when I try using
> that method inside Shoes.app, I get some very strange behavior.

I would stay away from OpenURI.  Not only is it slow, but it will
stall your whole application.  All HTTP calls need to be threaded,
so we use the `download` method in Shoes:
<http://help.shoooes.net/App.html#download>

And Shoes comes with Hpricot, so you don't need to load RubyGems.
<http://gist.github.com/18666>

_why

Reply via email to