From: Shandy Nantz Date: 2008-03-01T05:28:17+09:00 Subject: Re: Convert characters from hex to string Florian Gilcher wrote: > On Feb 29, 2008, at 9:08 PM, Shandy Nantz wrote: > >>> in the view. How is the variable used in the view? As an argument to >> >> > You are abusing link_to. The syntax for linking to a pregenerated > location is: > > <%= link_to 'Trave', @link, #the other arguments %> > > Otherwise, you generate a route within you controller with @link > as :action parameter. > And parameters will (and have to) be escaped by link generation. > > This is really much more of a question for the rails mailing list. > > Greetins > Florian Gilcher I know this has turned out to be a rails like question but the original question is rooted within the realm of ruby. So far I have tried CGI.unespace and h method to try and rid a string of characters that started out as characters but were then converted to hex characters. -- Posted via http://www.ruby-forum.com/.