Revert previous patch and handle via override instead

git-svn-id: file:///home/svn/framework3/trunk@12585 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-05-11 22:18:16 +00:00
parent 40894c3726
commit a95186df6a
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
return from_mod.const_get(const_name) if uninherited_const_defined?(from_mod, const_name)
raise ArgumentError, "#{from_mod} is not missing constant #{const_name}!" if uninherited_const_defined?(from_mod, const_name)
qualified_name = qualified_name_for from_mod, const_name
path_suffix = qualified_name.underscore