質問編集履歴

1

書き間違いを修正

2020/02/14 02:51

投稿

mongolia
mongolia

スコア133

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  class Post < ApplicationRecord
28
28
 
29
- belongs_to: :tag
29
+ belongs_to :tag
30
30
 
31
31
  end
32
32