aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/application/metal_loader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/application/metal_loader.rb')
-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