aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-07-24 18:36:13 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-07-24 18:36:13 +0000
commit6391e192f8c9424179657e17f82b264746ee2c10 (patch)
treeee2c5f02b831dbb9c55e11c114071560be8b2ed7 /activesupport/lib/active_support/core_ext.rb
parentedd68a587f412ccdf15613c663acbab341d45017 (diff)
downloadrails-6391e192f8c9424179657e17f82b264746ee2c10.tar.gz
rails-6391e192f8c9424179657e17f82b264746ee2c10.tar.bz2
rails-6391e192f8c9424179657e17f82b264746ee2c10.zip
Fix load-order inconsistency (closes #9081) [themug]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext.rb')
-rw-r--r--activesupport/lib/active_support/core_ext.rb2
1 files changed, 1 insertions, 1 deletions
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) }