lib/registry/registry_record.rb
def deprecate(reason, successors = nil)
      # successors is an optional array of new RegistryRecordsthat replaced this
      self.deprecated_reason = reason
      self.deprecated_timestamp = Time.now.utc
      self.suppressed = true
      self[:successors] = successors if successors

      save
    end
# Deprecation of a RegistryRecord.
# Caused by splits, merges, or out of scope. Tracks successor records
# from splits and merges.
Deprecation of a RegistryRecord.
Caused by splits, merges, or out of scope. Tracks successor records
from splits and merges.
Deprecation of a RegistryRecord . Caused by splits merges or out of scope . Tracks successor records from splits and merges .
def deprecate(reason, successors = nil)
      self.deprecated_reason = reason
      self.deprecated_timestamp = Time.now.utc
      self.suppressed = true
      self[:successors] = successors if successors
      save
    end
def deprecate ( reason , successors = nil ) self . deprecated_reason = reason self . deprecated_timestamp = Time . now . utc self . suppressed = true self [ :successors ] = successors if successors save end
Deprecation of a RegistryRecord.
Deprecation of a RegistryRecord .
# successors is an optional array of new RegistryRecordsthat replaced this
reason
successors