Archive for June, 2008

Rails redirect_to :back in Internet Explorer

Today I realized that the rails command   redirect_to :back  does not work in Internet Explorer because  redirect_to :back  depends on the HTTP_REFERER http header, which IE does not send.  I was capturing an onclick event with jQuery and was able to sending along the  current URL as a query string, which provided an easy [...]

June 6, 2008 • Posted in: rails • One Comment