def revive_destroyed_dependent_records(force = nil)
      destroyed_dependent_relations.each do |relation|
        relation.to_a.each { |destroyed_dependent_record| destroyed_dependent_record.try(:revive, force) }
      end
      reload
    end
def revive_destroyed_dependent_records(force = nil)
      destroyed_dependent_relations.each do |relation|
        relation.to_a.each { |destroyed_dependent_record| destroyed_dependent_record.try(:revive, force) }
      end
      reload
    end
TODO: Feel free to refactor this without polluting the ActiveRecord
 namespace.
 rubocop:disable Metrics/AbcSize