Hi-
Easy question, just don''t know where to look-
How do I encode an :id that has a space in it:
#tag.tag = "Joe Buck"
<% = link_to tag.tag, {:action => stories_by_tag, :id => tag.tag} %>
this throws an error b/c there is a space in the id. Is there a
function that automatically encodes this? The h function doesn''t do
it.
Thanks,
Dino
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---