質問編集履歴
1
paramsの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -69,3 +69,21 @@
|
|
69
69
|
end
|
70
70
|
|
71
71
|
```
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
private
|
78
|
+
|
79
|
+
def company_params
|
80
|
+
|
81
|
+
params.require(:company).permit(
|
82
|
+
|
83
|
+
:company, #会社名...
|
84
|
+
|
85
|
+
:price #価格
|
86
|
+
|
87
|
+
).merge(member_id: @member_id)
|
88
|
+
|
89
|
+
```
|