Re:"this gem is awesome".to_spanish # = "esta joya es impres...
by getsat on Wednesday January 12, 2011 @05:32AM
(#2095638)
You would get a SocketError exception from getaddrinfo because HTTParty (which uses Net::HTTP) can't lookup the hostname. If the hostname is already resolved, you'd get a Errno::EHOSTUNREACH exception from connect because there is no route to Google's servers.
[ Parent
| on HN ]
Re:"this gem is awesome".to_spanish # = "esta joya es impres...
by Uchikoma on Wednesday January 12, 2011 @08:54AM
(#2096104)
Leaky abstraction
http://www.joelonsoftware.com/articles/LeakyAbstractions.htm...
Re:"this gem is awesome".to_spanish # = "esta joya es impres...
by getsat on Wednesday January 12, 2011 @06:22PM
(#2098145)
Hey, I didn't say it was awesome, I was just reporting what actually happens. :)
Re:"this gem is awesome".to_spanish # = "esta joya es impres...
by burgerbrain on Wednesday January 12, 2011 @11:40AM
(#2096688)
In other words, "poorly".