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…
Reference in New Issue