Hello everybody.

I have a tricky situation with external links in 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 create external
links in 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 ?

Thank you for your help in advance.

Best regards,
ArtūrasB.

--~--~---------~--~----~------------~-------~--~----~
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