I've stumbled upon a very weird bug which I'm -- sadly -- unable to
reproduce.
I'm riding the edge and, after upgrading once more (after recent localized
template neatness), one of my coworkers who is using Mongrel reported that
the site has no layout. This bug was not reproducable with Passenger or
Thin. The layout was in Haml ("application.html.haml").

I've set up a blank app to use edge rails and created a scaffold with an erb
layout ("application.html.erb"). The first requests indeed didn't render a
layout! Then I started to git bisect vendored rails. I started off with a
fairly old revision and the template immediately showed on the next request.
I continued to bisect and finished up on this commit: "a98cd7ca by Joshua
Peek: Add localized templates".

The thing that troubled me now was that even with this commit checked out, I
couldn't reproduce the bug. The layout rendered consistently. I then moved
back to master and, to my surprise, the bug was gone. Not reproducable
anymore. I went back to the real application in question and there it was
gone, too.

So, doctor, give to me straight: am I crazy?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to