app/controllers/mass_rollouts_controller.rb
def create
    stages_created = create_all_stages.compact

    redirect_to deploy_group, notice: "Created #{stages_created.length} Stages"
  end
# No more than one stage, per project, per deploy_group
# Note: you can call this multiple times, and it will create missing stages, but no redundant stages.
# TODO: only create selected list like #deploy does
No more than one stage, per project, per deploy_group
Note: you can call this multiple times, and it will create missing stages, but no redundant stages.
TODO: only create selected list like #deploy does
No more than one stage per project per deploy_group Note : you can call this multiple times and it will create missing stages but no redundant stages . TODO : only create selected list like #deploy does
def create
    stages_created = create_all_stages.compact
    redirect_to deploy_group, notice: "Created #{stages_created.length} Stages"
  end
def create stages_created = create_all_stages . compact redirect_to deploy_group , notice : "Created #{stages_created.length} Stages" end
No more than one stage, per project, per deploy_group
Note: you can call this multiple times, and it will create missing stages, but no redundant stages.
No more than one stage per project per deploy_group Note : you can call this multiple times and it will create missing stages but no redundant stages .