Forum: Ruby on Rails Passing strings into html and not converting to hex (I think)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B1fdfa6f68e5405917bf4f759a470dbe?d=identicon&s=25 Avery Rozar (arozar)
on 2013-10-23 17:21
Hello all.

I need pass this without it changing the &, and = into %26, and %3D.

<%= q:params[:query]+'&pretty=true' do %>

Everything else is working fine, its just passing this ;

GET http://localhost:9200/_search?q=asa%26pretty%3Dtrue

I need this to be;

GET http://localhost:9200/_search?q=asa&pretty=true

Thanks in advance.
This topic is locked and can not be replied to.