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)

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to