質問編集履歴
1
記載コードが被っていました
test
CHANGED
File without changes
|
test
CHANGED
@@ -116,16 +116,6 @@
|
|
116
116
|
|
117
117
|
end
|
118
118
|
|
119
|
-
|
120
|
-
|
121
|
-
class Category < ApplicationRecord
|
122
|
-
|
123
|
-
has_many :todos
|
124
|
-
|
125
|
-
accepts_nested_attributes_for :todos, reject_if: :all_blank, allow_destroy: true
|
126
|
-
|
127
|
-
end
|
128
|
-
|
129
119
|
```
|
130
120
|
|
131
121
|
```
|