[Rails] How to use url_escape in controller?

softwareengineer 99 softwareengineer99 at yahoo.com
Thu Feb 9 03:09:22 GMT 2006


I know one can use <%=u "a string" %> to use the url_escape function in ROR and convert "a string" to "a%20string"
  
  I tried using url_escape and u in my controller but none of them work and I get a function unknown error.
  
  Can anyone please guide me as to how I can use the url escape function in my controller?
  
  I appreciate your help
  
  Thanks
  Frank
  
  
		
---------------------------------
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060209/3b98666e/attachment.html


More information about the Rails mailing list