git-svn-id: file:///home/svn/framework3/trunk@12583 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-05-11 17:39:40 +00:00
parent d0c93f7e49
commit ea2da5f9ce
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ module ActiveSupport #:nodoc:
raise ArgumentError, "A copy of #{from_mod} has been removed from the module tree but is still active!"
end
raise ArgumentError, "#{from_mod} is not missing constant #{const_name}!" if uninherited_const_defined?(from_mod, const_name)
return from_mod.const_get(const_name) if uninherited_const_defined?(from_mod, const_name)
qualified_name = qualified_name_for from_mod, const_name
path_suffix = qualified_name.underscore