Permalink
Browse files

Fix typo in apparently-dead will_unload? method.

  • Loading branch information...
1 parent 44d721c commit d356987e2642ae9fc0c9ce6e2eb59d348e2358e8 @jeremy jeremy committed Jun 28, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/dependencies.rb
@@ -286,7 +286,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 d356987

Please sign in to comment.