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