class ActiveSupport::Deprecation::DeprecatedObjectProxy

def initialize(object, message, deprecator = nil)

def initialize(object, message, deprecator = nil)
  @object = object
  @message = message
  ActiveSupport.deprecator.warn("DeprecatedObjectProxy without a deprecator is deprecated") unless deprecator
  @deprecator = deprecator || ActiveSupport::Deprecation._instance
end