From: Ehud Rosenberg Date: 2007-11-06T09:01:50+09:00 Subject: Faking the refering page with Mechanize Hi, I am trying to access a certain web page from my server, but I want the referring page to be a different one. It seems the the get method accepts both a url and a "ref" parameter that is is supposed to be the referring page, but when I try to send that url as follows: agent.get(url_to_get, "http://www.mininova.org") I get the following error: ndefined method `uri' for "http://www.mininova.org":String. Anyone knows what is the correct way to do this? Thanks! Ehud -- Posted via http://www.ruby-forum.com/.