回答編集履歴

1

追記

2021/02/24 07:35

投稿

winterboum
winterboum

スコア23349

test CHANGED
@@ -1,5 +1,5 @@
1
1
  `has_many :events` と
2
2
 
3
- `has_many :entried_events, through: :entries`
3
+ `has_many :entried_events, class_name: 'Event', through: :entries`
4
4
 
5
- の2つが必要ですね
5
+ の2つが必要ですね