Fix: リモートからの参照を無限に受け入れる問題
This commit is contained in:
parent
9a5f80c41d
commit
7333390e88
4 changed files with 153 additions and 8 deletions
|
@ -14,6 +14,8 @@
|
|||
#
|
||||
|
||||
class StatusReference < ApplicationRecord
|
||||
REFERENCES_LIMIT = 5
|
||||
|
||||
belongs_to :status
|
||||
belongs_to :target_status, class_name: 'Status'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue