diff --git a/app/models/tiding.rb b/app/models/tiding.rb index 1b84f41bd..8b8cd37fc 100644 --- a/app/models/tiding.rb +++ b/app/models/tiding.rb @@ -7,7 +7,7 @@ class Tiding < ApplicationRecord has_many :attachments, as: :container - scope :visible, -> { where.not(delete: 0) } + scope :visible, -> { where(delete: 0) } def identifier value = nil