diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-27 17:19:24 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-27 17:21:57 -0700 |
commit | 582bff71c465075d01b6e062d64b13ac3df4ad56 (patch) | |
tree | db4b04af7e183fa95e7cfccce5f92b9387163aa6 /activesupport | |
parent | 76e00fc784f1f2d87727d9cb230f40588aa7f5a6 (diff) | |
download | rails-582bff71c465075d01b6e062d64b13ac3df4ad56.tar.gz rails-582bff71c465075d01b6e062d64b13ac3df4ad56.tar.bz2 rails-582bff71c465075d01b6e062d64b13ac3df4ad56.zip |
Fix typo in apparently-dead will_unload? method.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/dependencies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb index 7a8c4d0326..d3d9ff9de4 100644 --- a/activesupport/lib/active_support/dependencies.rb +++ b/activesupport/lib/active_support/dependencies.rb @@ -299,7 +299,7 @@ module ActiveSupport #:nodoc: # 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 |