aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorYehuda Katz <yehudakatz@YK.local>2010-02-14 11:55:01 -0800
committerYehuda Katz <yehudakatz@YK.local>2010-02-14 11:56:21 -0800
commit411c15ed5220cb07cfb1989d32be956f94a7478f (patch)
tree93897380636bcfdd31ce8949ee6df80125e7991e /railties/lib
parent8e4363de72c0829c68d38f636b7fcefce6a5759a (diff)
downloadrails-411c15ed5220cb07cfb1989d32be956f94a7478f.tar.gz
rails-411c15ed5220cb07cfb1989d32be956f94a7478f.tar.bz2
rails-411c15ed5220cb07cfb1989d32be956f94a7478f.zip
require Strings, not Symbols
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/application/metal_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/metal_loader.rb b/railties/lib/rails/application/metal_loader.rb
index c0f2e4f948..2a43fa7892 100644
--- a/railties/lib/rails/application/metal_loader.rb
+++ b/railties/lib/rails/application/metal_loader.rb
@@ -34,7 +34,7 @@ module Rails
Dir.glob("#{path}/**/*.rb").sort.each do |metal_path|
metal = metal_path.sub(matcher, '\1').to_sym
next unless list.include?(metal) || list.include?(:all)
- require_dependency metal
+ require_dependency metal.to_s
metals << metal
end
end