From 33743d73b8603668ff0806c76d9cba20a81e612d Mon Sep 17 00:00:00 2001 From: Tony Miller Date: Mon, 6 Nov 2023 14:57:18 -0800 Subject: [PATCH] remove unused index var --- app/models/show_series.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/show_series.rb b/app/models/show_series.rb index e922999e..38dc3f48 100644 --- a/app/models/show_series.rb +++ b/app/models/show_series.rb @@ -95,7 +95,7 @@ def save_episodes self.start_date.day, self.start_time.hour, self.start_time.min - recurrences.each_with_index do |r, index| + recurrences.each_with_index do |r| scheduled_show = self.episodes.new scheduled_show.radio = self.radio scheduled_show.dj = self.users.first # TODO drop dj_id from ScheduledShow?