mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b33700f558
Nowadays circular autoloads do not work, but the user gets a NameError that says some constant is undefined. That's puzzling, because he is normally trying to autoload a constant he knows can be autoloaded. With this check we can give a better error message.
4 lines
31 B
Ruby
4 lines
31 B
Ruby
Circular1
|
|
|
|
class Circular2
|
|
end
|