From eeb13e2e518e8836d00f9f9db3e45f66526fb355 Mon Sep 17 00:00:00 2001 From: Akshay Gupta Date: Mon, 16 Sep 2024 13:56:00 +0530 Subject: [PATCH] Lint fix --- app/models/pre_prod_release.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/pre_prod_release.rb b/app/models/pre_prod_release.rb index bc70e2eeb..abd7968d2 100644 --- a/app/models/pre_prod_release.rb +++ b/app/models/pre_prod_release.rb @@ -25,7 +25,7 @@ class PreProdRelease < ApplicationRecord belongs_to :commit has_one :next, class_name: "PreProdRelease", inverse_of: :previous, dependent: :nullify has_one :triggered_workflow_run, class_name: "WorkflowRun", dependent: :destroy, inverse_of: :triggering_release - has_many :store_submissions, -> { sequential }, as: :parent_release, dependent: :destroy + has_many :store_submissions, -> { sequential }, as: :parent_release, dependent: :destroy, inverse_of: :parent_release scope :inactive, -> { where(status: INACTIVE) }