Whenever I do page.redirect_to params in RJS where params has additional params other than :id, like :city, :state. It returns a query string which has & for all the &.
e.g. http://localhost:3000/home/next?&city=Pune&state=MH. As per web standards & is correct instead of &. (To avoid problems with both validators and browsers, always use & in place of & when writing URLs in HTML). But FF 2.0.0.12 does not support &. And many people believe if FF does not support, it is not a web standard. The urls with & does not get properly parsed in rails. like for above url, we expect there is params[:city] but rails is making it to params[&city]. One solution can be, if browsers pass & instead of &, rails should be able to understand it as & and fill params[:city] with city as key not &city as key.
I tried to write a test for above problem, and you could see http://pastie.org/pastes/17277 test fails.
I could not find the reason why is it failing.