How to execute URL in ruby on rails.?

i have problem, how to excute a URL string in ruby.

Input ------>

if i provide url in textfield named “song_url” like
mywebsite.com is available for purchase - Sedo.com”.
and i click on submit button.

output ----->
it will give a string in which all html response is stored.

how i execute this url so that i process data from resulting html.

Vikas G. wrote:

if i provide url in textfield named “song_url” like
mywebsite.com is available for purchase - Sedo.com”.
and i click on submit button.

output ----->
it will give a string in which all html response is stored.

Use Net::HTTP or open-uri. Examples posted here two days ago, see
http://www.ruby-forum.com/topic/175661