Merge pull request #1228 from basecamp/caching-watchers

Fix: watchers list not updating due to caching
This commit is contained in:
Jorge Manrubia
2025-10-03 16:57:53 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
class Access < ApplicationRecord
belongs_to :collection
belongs_to :collection, touch: true
belongs_to :user, touch: true
enum :involvement, %i[ access_only watching ].index_by(&:itself), default: :access_only
+1 -1
View File
@@ -1,4 +1,4 @@
<% cache [ page.records ] do %>
<% cache [ collection, page.records ] do %>
<section id="the-stream" class="cards cards--considering"
data-drag-and-drop-target="container"
data-action="turbo:before-morph-attribute->collapsible-columns#preventToggle"