From 5c265191a44175deec756ad17b747e4e021da0db Mon Sep 17 00:00:00 2001 From: Ube <57785974+radical-ube@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:02:57 -0400 Subject: [PATCH] Add touch true --- app/models/transcript.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/transcript.rb b/app/models/transcript.rb index 5d47ea312..043062a0c 100644 --- a/app/models/transcript.rb +++ b/app/models/transcript.rb @@ -16,7 +16,7 @@ class Transcript < ApplicationRecord acts_as_paranoid - belongs_to :episode + belongs_to :episode, touch: true has_one :task, -> { order("id desc") }, as: :owner has_many :tasks, as: :owner