How to open URL's in rails?
- by yuval
I'm trying to read in the html of a certain website.
Trying @something = open("http://www.google.com/") fails with the following error:
Errno::ENOENT in testController#show
No such file or directory - http://www.google.com/
Going to http://www.google.com/, I obviously see the site. What am I doing wrong?
Thanks!