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.
2b6e6b1b7f1bc89831ae47c590c4a179?d=identicon&s=25 Avery R. (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.