Solution for: #37: make url_for() generate a URL for the current page including GET params

escape option

1
Use the escape option:

url_for(request.query_parameters.merge(:escape => false))