diff options
author | Yehuda Katz <yehudakatz@YK.local> | 2010-02-14 11:55:01 -0800 |
---|---|---|
committer | Yehuda Katz <yehudakatz@YK.local> | 2010-02-14 11:56:21 -0800 |
commit | 411c15ed5220cb07cfb1989d32be956f94a7478f (patch) | |
tree | 93897380636bcfdd31ce8949ee6df80125e7991e /railties/lib | |
parent | 8e4363de72c0829c68d38f636b7fcefce6a5759a (diff) | |
download | rails-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.rb | 2 |
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 |