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

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.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.