19 Jul '12, 2pm

How to change the Timeout::Error threshold for open_uri - Ruby Forum:

> Does anyone know how to fix this? I want it to wait longer for > the web server to respond. Look in the docs/code and you shall find... OpenURI wraps net/http and net/https Looking in net/http finds these accessor methods: # Seconds to wait until connection is opened. # If the HTTP object cannot open a connection in this many seconds, # it raises a TimeoutError exception. attr_accessor :open_timeout # Seconds to wait until reading one block (by one read(2) call). # If the HTTP object cannot open a connection in this many seconds, # it raises a TimeoutError exception. attr_reader :read_timeout Maybe that would help. Mikel

Full article: http://www.ruby-forum.com/topic/146676

Tweets

rake db:test:prepare - Ruby Forum:

ruby-forum.com 20 Jul '12, 3pm

I'm having fun with a legacy DB (SQL Server), and in the process found some code in rails/lib/tasks/databases.rake which f...

is back up... had been down due to a DNS error ...

blog.obiefernandez.com 20 Jul '12, 4pm

This is a guest post by Rusty Zarse CTO of Search Discovery, spurred by a series of email conversations that we had regard...

More people believe in climate change when they...

grist.org 18 Jul '12, 7pm

Yesterday, we celebrated the 110th birthday of the air conditioner . (Happy day-after-your-birthday, air conditioner!) We ...

Safra to change to attract younger crowd, as Defence Minister Ng Eng Hen admits that he no longer knows 'what is hip'

Safra to change to attract younger crowd, as De...

straitstimes.com 19 Jul '12, 10pm

Safra's Toa Payoh clubhouse will reopen in October but its swimming school will be ready only by year's end. Safra clubhou...

Para los interesados en la comunidad ruby gdl. ...

ruby-forum.com 19 Jul '12, 8pm

Hola, Estoy interesado en iniciar una comunidad de Ruby en Guadalajara Mexico. Antes de iniciar reuniones o cualquier otra...

Know ‘The Story of Stuff?’ Watch ‘The Story of ...

grist.org 18 Jul '12, 12pm

Annie Leonard’s award-winning Story of Stuff video series inspired millions of people to rethink their participation in ou...

The Story of Change Explores Why Shopping Cannot Save Us

The Story of Change Explores Why Shopping Canno...

treehugger.com 18 Jul '12, 10am

I've said it before, green lifestyle choices will not save us and shopping and voting are not the same thing . Sure, impro...

People who don’t accept climate change also don’t accept that it’s hot

People who don’t accept climate change also don...

grist.org 19 Jul '12, 2pm

WHAT? NO. I’M PERFECTLY COMFORTABLE. Yesterday, we noted that people are once again inclined to accept climate change , gi...

Climate Change Drives These Extreme Weather Events [chart]

Climate Change Drives These Extreme Weather Eve...

treehugger.com 18 Jul '12, 2am

We can't blame climate change for every extreme weather event that slams into us, yet there's little doubt among scientist...

Slow Ride Stories: Kick-starting conversations ...

grist.org 18 Jul '12, 10am

The climate is a-changin’ — but the debate on climate change isn’t. As a result, climate scientists and environmental advo...

Increase in extreme weather is influencing publ...

e360.yale.edu 18 Jul '12, 3pm

18 Jul 2012: Increase in Extreme Weather Influencing Opinion on Climate Change With 70 percent of Americans now agreeing t...

More Americans Believe Climate Change is Real | Care2 Causes

More Americans Believe Climate Change is Real |...

care2.com 17 Jul '12, 9pm

Summer 2012 is breaking all sorts of records . On the bright side, one benefit of extreme weather is that it wakes people ...

The Story of Change: Why citizens, not shoppers...

ecouterre.com 20 Jul '12, 4pm

Second, the people who pushed for these changes didn’t try to do it alone. They worked together until the problem was solv...

The story of change - it takes more than smart ...

350.org 18 Jul '12, 4pm

350 means safety from the climate crisis. To preserve our planet, scientists tell us we must reduce the amount of CO2 in t...