From 6391e192f8c9424179657e17f82b264746ee2c10 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 24 Jul 2007 18:36:13 +0000 Subject: Fix load-order inconsistency (closes #9081) [themug] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/core_ext.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext.rb') diff --git a/activesupport/lib/active_support/core_ext.rb b/activesupport/lib/active_support/core_ext.rb index 573313e741..cb43160bda 100644 --- a/activesupport/lib/active_support/core_ext.rb +++ b/activesupport/lib/active_support/core_ext.rb @@ -1 +1 @@ -Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].each { |file| require(file) } +Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].sort.each { |file| require(file) } -- cgit v1.2.3