ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
…are so that anonymous classes are supported
…moving unloadable constants Signed-off-by: José Valim <email@example.com>
…e_unloadable_constants! Signed-off-by: Xavier Noria <firstname.lastname@example.org>
…th (in more places)" Caused failures in ActionMailer test suite. This reverts commit 991cd59.
…ble to avoid double-requires
…autoloaded_constants list, causing mayhem. [#5165 state:resolved]