Displaying 1 result from an estimated 1 matches for "jwak".
Did you mean:
jwad
2008 Feb 26
1
A weird problem with open-uri
Hi all,
I found a very weird problem/bug with open-uri today. In my application
I have this line:
html_file = open(@story.url)
It raises this Exception:
OpenURI::HTTPError - 404 Not Found
This is the url: http://jwak.net/media/844/ . There''re no problems with
it. Moreover if I execute the same thing in the console (script/console)
- it just works as expected. I start both - the server and the console
in dev.mode .
When the "open" method is executed through the application it returns
this obj...