You can clone with
HTTPS or Subversion.
Not sure what is going on here.
as of 56aa02f, on Ubuntu 12.10 with ruby 1.9.3p362, the following happens:
generate a new rails application, and then generate a resource - I used rails g scaffold article title:string body:text.
rails g scaffold article title:string body:text
Migrate the database and start the server, then head to localhost:3000/articles/new, and create a new article, and then click "Create Article".
In Firefox, what happens next is rather interesting. On the page with the flash message, it shows this:
Firebug reports that it has no style rules. I then opened it up in a new tab, and it shows this:
Firebug reports that it has these style rules:
In Chrome, the opposite happens. The one with the flash shows the style rules, the one without shows none.
What is going on here?
Could you create an example application reproducing the behavior?
Here you go. https://github.com/jrgifford/rails-issue-8684
I can reproduce it. I get this in the console when refreshing the page: https://gist.github.com/4434883
OMG! This seems very bad. I'll take a look later
@jrgifford can you give a try with any other web server (thin, unicorn, puma...)?
@guilleiguaran Issue is not appearing with thin or puma. Appears to be a WEBrick issue then?
I was not able to clone the issue in my version of Chrome (23.0.1271.101), WEBrick (1.3.1), and Ruby (1.9.3p362). I received what appears to be the appropriate output with and without the flash message. Although, the log does appear to be similar: https://gist.github.com/4436519. What version of Firefox/Chrome/WEBrick are you using?
Chrome: 25.0.1364.5 (Official Build 174090) dev
Chromium: 26.0.1374.0 (Developer Build 174786)
I have the same issue with a fresh rails 4 application. I use Chrome 23, ruby 1.9.3p327 and WEBrick 1.3.1.
As of 59e0c26 , this issue is resolved for me in Firefox, Chromium and Chrome. Can someone pin down what commit fixed it?
Or rather, can someone verify that it's fixed first?
I can confirm that this is indeed fixed (not sure what commit though) - I tested on a couple of machines and over a range of browsers.
confirmed again. so it looks good. :)