#2 完了
このコミットが含まれているのは:
@@ -0,0 +1,7 @@
|
||||
class UserPostView < ApplicationRecord
|
||||
belongs_to :user
|
||||
belongs_to :post
|
||||
|
||||
validates :user_id, presence: true
|
||||
validates :post_id, presence: true
|
||||
end
|
||||
新しい課題から参照
ユーザをブロックする