Hi you all,
I have a RESTful app where my link_to is something like
<%= link_to("Trial",sdrs_query_path(params[:id] + " = " +
When click on the link, the URL that appears is:
Is there anyway to avoid this? I want the equal sign as it is in the
Besides, the behaviour is strange. Even though the resulting URL is
if I change it manually into the browser to this one:
it works the same. I mean, it's great Rails encode URLs automatically,
but if there is no need (as in this case)...
PT 1: the "manual" URL "queries/vlan_interfaz=Trial" works even thoug
with query params such as "queries/vlan_interfaz=Trial?page=3". This is
the reason why I say here there is no need in encoding.
PT 2: With a simple <a href=...> it does not happen. I would use this
way but my_transf(@value), a method that encodes "@value", returns the
value as it is too, not encoded... :S