回答編集履歴

2

a

2017/07/25 08:34

投稿

moke
moke

スコア2241

test CHANGED
File without changes

1

a

2017/07/25 08:34

投稿

moke
moke

スコア2241

test CHANGED
@@ -34,9 +34,9 @@
34
34
 
35
35
  Controller層で利用者からの入力に対し
36
36
 
37
- parent=Parent.new(params);
37
+ parent=Parent.new(parent_params);
38
38
 
39
- parent.children.new(params);
39
+ parent.children.new(children_params);
40
40
 
41
41
  parent.save
42
42