Hi,
Using Rails 3.0.3 on Ubuntu 10.
In my application controller I have a before filter which checks where or not a User has some comment records. If no comment records our found, a redirection is issued to the main page.
All my rspec/cucumber tests passed.
So I thought start the server and see what happens when I use Firefox (3.6) or Internet Explorer (1.7)
Scenario:
Firefox
User navigates to page (via AJAX), but has no comments controller/action with format JS is called followed by a redirect (because of the before_filter) redirected to main page with format HTML (not expecting this, wrong behaviour)
Internet Explorer
User navigates to page (via AJAX), but has no comments controller/action with format JS is called followed by a redirect (because of the before_filter) redirected to main page with format JS (expecting this, correct behaviour)