Ajax Scaffold is htmlescaping "&" in url's


#1

Seems like I have a problem with html escaping of “&” in my
url’s. “Create New” have following link:

http://localhost:3000/stylesheets/new?scaffold_id=stylesheet&page=1&sort_direction=asc

Any ideas how I can fix this?

Using:
ajax_scaffold_generator (3.1.2) &
rails (1.1.2)

Regards Henrik


#2

Silly me. That is not the cause of my error…
The bad thing, is that now, I don’t know why it dosn’t work for me.

When I press on “create new” This nice little green thing are spinning
around forever… I don’t see any errors in the logs.

If I copy the url (fx:
http://localhost:3000/stylesheets/new?scaffold_id=stylesheet&page=1&sort_direction=asc)
and pasts it inn the browser it works (strangely enough).

I have the same error with edit, and also “Update” and “Create”. I’ve
tried on many browsers on both Linux and windows.

Any suggestions?

Regards Henrik

Mon, 15 May 2006, Henrik Ormåsen skrev: