where does the amp sign come from and better: how can i get rid of it:
i sure hope someone can help me, i don’t know what to do anymore…
This is a known problem with some of the tag helpers that handle URLs
– they double-escape the URL so that & becomes & instead of
just & in the HTML.
I’ve written a patch to fix this, but it’s not been accepted yet:
I’d suggest not to mix GET and POST
(default) methods anyway. You can use hidden fields for additional
parameters:
You’re not mixing GET and POST; you’re just POSTing to a URL that
happens to have some querystring parameters. And, with Rails’ routes,
the difference between
/user/edit/1
and
user/edit?id=1
is pretty slender. They both end up as params[:id] = 1. So every time
you submit a form to /user/edit/1 (which is standard practice in
Rails), you’re effectively POSTing to a URL with querystring
parameters; it’s just that routing hides the ugliness of ?s, =s and &s.
I’d suggest not to mix GET and POST
(default) methods anyway. You can use hidden fields for additional
parameters:
You’re not mixing GET and POST; you’re just POSTing to a URL that
happens to have some querystring parameters. And, with Rails’ routes,
the difference between
My bad, I should have said “I’d suggest to avoid passing parameters in
url
with POST”