Hello there,

     I am using the link_to tag to open a website. I am getting error.

I used the following code.

<%= link_to "click here",:action =>"http://www.rubyxml.com"; %>

I am getting the following error

No route matches "/users/http:%2F%2Fwww.rubyxml.com" with
{:method=>:get}

Can anybody tell me what i have to do to overcome this problem.


Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to