Revert previous patch and handle via override instead
git-svn-id: file:///home/svn/framework3/trunk@12585 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
40894c3726
commit
a95186df6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue