Permalink
Browse files

Fix typo in apparently-dead will_unload? method.

  • Loading branch information...
1 parent 76e00fc commit 582bff71c465075d01b6e062d64b13ac3df4ad56 @jeremy jeremy committed Jun 28, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/dependencies.rb
@@ -299,7 +299,7 @@ def autoloaded?(desc)
# Will the provided constant descriptor be unloaded?
def will_unload?(const_desc)
- autoloaded?(desc) ||
+ autoloaded?(const_desc) ||
explicitly_unloadable_constants.include?(to_constant_name(const_desc))
end

0 comments on commit 582bff7

Please sign in to comment.