Permalink
Browse files

fix problems with requires in metal choking under development reloadi…

…ng [#2579 state:resolved]

Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information...
1 parent ebe8dd6 commit 49169f7a6ab2699c500032e6e14570512c674274 @knzconnor knzconnor committed with josh May 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/rack/metal.rb
@@ -26,7 +26,7 @@ def self.metals
load_list.map do |requested_metal|
if metal = all_metals[requested_metal]
- require metal
+ require_dependency metal
requested_metal.constantize
end
end.compact

0 comments on commit 49169f7

Please sign in to comment.