Makes sense -- we've run into issues before where load order varied between platforms and caused inconsistent behavior.  I wonder if we should monkeypatch Dir.foreach to be sorted and fix this at a higher level?  There are probably other places in the framework where inconsistent load order could (does?) induce weirdness.  Off the top of my head, I can't think of any bad side effects of forcing consistent ordering across the board for Dir.foreach...  Thoughts?

On Sep 12, 2006, at 2:24 AM, choonkeat wrote:

This is actually related to a bigger issue that the files (*helper.rb) are not loaded in a consistent order. Hence the unpredictable nature of problems.

Patch submitted .




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to