diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3f8180ef..9b9eefa7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,3 +15,7 @@ updates: schedule: interval: "weekly" open-pull-requests-limit: 50 + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/app/views/kenshis/_form.html.erb b/app/views/kenshis/_form.html.erb index d9c95682..b8703458 100644 --- a/app/views/kenshis/_form.html.erb +++ b/app/views/kenshis/_form.html.erb @@ -86,7 +86,7 @@ <%= Kenshi.human_attribute_name(:team) %> - <% cup.team_categories.all.each do |c| %> + <% cup.team_categories.find_each do |c| %> <% participation = f.object.participations.detect { |p| p.category == c }.presence || Participation.new(category: c) # rubocop:disable Lint/UselessAssignment %> <%= f.fields_for :participations, participation do |g| %> <% if participation.persisted? %> @@ -152,7 +152,7 @@