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

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -