Fix: リモートからの参照を無限に受け入れる問題

This commit is contained in:
KMY 2024-02-02 09:05:53 +09:00
parent 9a5f80c41d
commit 7333390e88
4 changed files with 153 additions and 8 deletions

View file

@ -14,6 +14,8 @@
#
class StatusReference < ApplicationRecord
REFERENCES_LIMIT = 5
belongs_to :status
belongs_to :target_status, class_name: 'Status'