ActiveSupport::Deprecation::DeprecatedConstantProxy
class ActiveSupport::Deprecation::DeprecatedConstantProxy
DeprecatedConstantProxy transforms a constant into a deprecated one. It takes the names of an old (deprecated) constant and of a new constant (both in string form) and optionally a deprecator. The deprecator defaults to ActiveSupport::Deprecator
if none is specified. The deprecated constant now returns the value of the new one.
PLANETS = %w(mercury venus earth mars jupiter saturn uranus neptune pluto) (In a later update, the original implementation of `PLANETS` has been removed.) PLANETS_POST_2006 = %w(mercury venus earth mars jupiter saturn uranus neptune) PLANETS = ActiveSupport::Deprec