method

load_missing_constant

rails latest stable - Class: Dependencies

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

load_missing_constant(from_mod, const_name)
public

Load the constant named const_name which is missing from from_mod. If it is not possible to load the constant into from_mod, try its parent module using const_missing.