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.