回答編集履歴

1

: の位置の修正

2018/07/02 05:50

投稿

退会済みユーザー
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ```
4
4
 
5
- params.require(:company).permit(:com_name, :com_type, evaluations_attributes: [{:environment[:KEY]}, :salary, :overtime, :boss, :corporate_style, :management, :dangerous, :other])
5
+ params.require(:company).permit(:com_name, :com_type, evaluations_attributes: [{environment: [:KEY]}, :salary, :overtime, :boss, :corporate_style, :management, :dangerous, :other])
6
6
 
7
7
  ```
8
8