mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 18:27:55 +08:00
Missing association.
This commit is contained in:
parent
96a070d73d
commit
fad04aad6c
@ -3,6 +3,7 @@ class TopicStatusUpdate < ActiveRecord::Base
|
||||
|
||||
belongs_to :user
|
||||
belongs_to :topic
|
||||
belongs_to :category
|
||||
|
||||
validates :user_id, presence: true
|
||||
validates :topic_id, presence: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user