このコミットが含まれているのは:
2025-05-15 02:21:42 +09:00
コミット 4cf3fc4d8c
12個のファイルの変更124行の追加57行の削除
+7
ファイルの表示
@@ -0,0 +1,7 @@
class UserPostView < ApplicationRecord
belongs_to :user
belongs_to :post
validates :user_id, presence: true
validates :post_id, presence: true
end