Execute script in rails console
From https://gitlab.com/gitlab-org/gitlab-ce/issues/32530#note_30431951
disallowed_root_paths = %w[- abuse_reports api autocomplete explore health_check import invites jwt koding member notification_settings oauth sent_notifications unicorn_test uploads users]
wildcards = disallowed_root_paths.map { |word| "#{word}%" }
namespaces = Namespace.where(parent_id: nil).where(Namespace.arel_table[:path].matches_any(wildcards))
puts namespaces.count
namespaces.map(&:touch)
@reprazent could you explain what is the expectation of this and what would the impact be in production?
Edited by Bob Van Landuyt :neckbeard: