Rails and Firefox on crack with redirections

Without going into the specifics of what you have or have not done, I think you might need to do a little more digging: is firefox requesting the wrong page from your app, is it requesting the right page but doing something funny, is it just serving a page from its cache ?

Fred

Without going into the specifics of what you have or have not done, I think you might need to do a little more digging: is firefox requesting the wrong page from your app, is it requesting the right page but doing something funny, is it just serving a page from its cache ?

Fred

Firefox requests the page that was protected by the before_filter. Safari doesn't do that.

It's only when I use the refresh button (or ctrl+r shortcut) that firefox instead of refreshing the current index page, goes to the former /show/my_url.

If I "refresh" manually the index page by simply pressing the Enter key when focus is in the address bar, it doesn't act stupidly.

This could be handy:

<table style = "font-size:small;"> <% req = request.env    req.each do |key,value| %>   <tr><td><%= "#{key}" %></td><td><%= "#{value}" %></td></tr>   <% end %> </table>