diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-06-24 02:16:59 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-06-24 02:16:59 -0700 |
commit | 5eb3b4d9a78268753d009404810619cf93cf6581 (patch) | |
tree | ad854c3833f2a15698609efb3a4de84d099bd3bb /railties/lib | |
parent | 9f7874ac419f626a6a5157c757669a8b16770ae4 (diff) | |
download | rails-5eb3b4d9a78268753d009404810619cf93cf6581.tar.gz rails-5eb3b4d9a78268753d009404810619cf93cf6581.tar.bz2 rails-5eb3b4d9a78268753d009404810619cf93cf6581.zip |
Fix initializable tests
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/initializable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/initializable.rb b/railties/lib/rails/initializable.rb index 46b3a02b22..fba3ad2c85 100644 --- a/railties/lib/rails/initializable.rb +++ b/railties/lib/rails/initializable.rb @@ -82,7 +82,7 @@ module Rails def run_initializers(*args) return if @ran - initializers_chain.each do |initializer| + initializers_chain.tsort.each do |initializer| instance_exec(*args, &initializer.block) end @ran = true |