From c1c11e27db168defff38c98a88448d5b9f26a688 Mon Sep 17 00:00:00 2001 From: Maximo Mussini Date: Tue, 8 Oct 2024 17:29:19 -0300 Subject: [PATCH] fix: unable to use keyword args when including the `Labels` extension closes #1350 --- lib/good_job/active_job_extensions/labels.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/good_job/active_job_extensions/labels.rb b/lib/good_job/active_job_extensions/labels.rb index c4f907f5..5a56aac8 100644 --- a/lib/good_job/active_job_extensions/labels.rb +++ b/lib/good_job/active_job_extensions/labels.rb @@ -6,7 +6,7 @@ module Labels extend ActiveSupport::Concern module Prepends - def initialize(*arguments) + def initialize(...) super self.good_job_labels = Array(self.class.good_job_labels.dup) end