回答編集履歴
1
あ
test
CHANGED
@@ -66,9 +66,9 @@
|
|
66
66
|
|
67
67
|
```ruby
|
68
68
|
|
69
|
-
def
|
69
|
+
def product_params
|
70
70
|
|
71
|
-
params.require(:
|
71
|
+
params.require(:product).permit(:id,:name,~略~,comments_attributes: [:id,:comment])
|
72
72
|
|
73
73
|
end
|
74
74
|
|