<%= link_to "This should be easy if you RTFM.", " http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html" %>
On Mon, Mar 16, 2009 at 11:43 AM, [email protected] <[email protected]>wrote: > > 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 -~----------~----~----~----~------~----~------~--~---

