ruby on rails 4 - Escape string to url-fit -
i want escape string nice looking in url. example white-spaces changed '_'. thing that's bother me '%number'.. site has multi-languages words.
<%= link_to tag.name tag_details_path(tag.id,url_encode(tag.name)) %>
so url_encode
doesn't fit me.
Comments
Post a Comment