Skip to content
  • Étienne Barrié's avatar
    e5af9c29
    Deprecate ActiveSupport::Deprecation instance delegation · e5af9c29
    Étienne Barrié authored
    All methods called on ActiveSupport::Deprecation are delegated to the
    singleton instance, but now that each framework has its own Deprecation
    instance, it's no longer necessary for internal deprecations.
    
    For external code, instead of using ActiveSupport::Deprecation.warn,
    they should create their own instance of the class and call warn on it.
    e5af9c29
    Deprecate ActiveSupport::Deprecation instance delegation
    Étienne Barrié authored
    All methods called on ActiveSupport::Deprecation are delegated to the
    singleton instance, but now that each framework has its own Deprecation
    instance, it's no longer necessary for internal deprecations.
    
    For external code, instead of using ActiveSupport::Deprecation.warn,
    they should create their own instance of the class and call warn on it.
Loading