回答編集履歴
1
追記
answer
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
`has_many :events` と
|
2
|
-
`has_many :entried_events, through: :entries`
|
2
|
+
`has_many :entried_events, class_name: 'Event', through: :entries`
|
3
|
-
の2つが必要ですね
|
3
|
+
の2つが必要ですね。
|