Suddenly when I run my app locally, I get double console output. Does anybody know what might have caused this? The problem exists both when running Thin and Unicorn
<
From your example, it shows that duplicates are happening inline, ie.
A
A
B
B
C
C
If instead you are seeing what appears to be two back-to-back duplicate requests, ie:
A
B
C
A
B
C
You should strongly consider @aelor's answer of hunting down a or a similar self-referential url tag. I spent hours trying to figure out why my application was appearing to make two duplicate requests, and after reading @aelor's answer I found
%link{href: "", rel: "shortcut icon"}/
in my code! It was causing every page of my production app to be double rendering!!!! So bad for performance and so annoying!