Hi Marnen .
Thank you for the idea. I'll try it at home. Regards, Artūras B. On 28 Rugs, 16:13, Marnen Laibow-Koser <rails-mailing-l...@andreas- s.net> wrote: > [email protected] wrote: > > Hello everybody. > > > I have a tricky situation withexternallinksin my Rails application. > > I have online shopping catalog. All goods have "vendor information" > > field where URL to vendor's information about particular shopping item > > could be found. The problem is that I'm not unable to createexternal > >linksin shopping item views - Rails adds host and controller to the > > vendor's URL, like this "http://www.myshoppingcatalog.com/ > > shopping_items/www.vendor.com". I tried link_to and url_for almost all > > variations but it didn't work. How can I get "pure" vendor's URL ? > > Use a full URL -- in other words, start with "http://". If you do that, > link_to should figure out what you want. > > > > > Thank you for your help in advance. > > > Best regards, > > ArtūrasB. > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

