回答編集履歴
1
パラメーターにidを追加した
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
def property_params
|
16
16
|
|
17
|
-
params.require(:property).permit(:name, property_overview_attributes: [:address, :postal_code, :date_of_build])
|
17
|
+
params.require(:property).permit(:name, property_overview_attributes: [id, :address, :postal_code, :date_of_build])
|
18
18
|
|
19
19
|
end
|
20
20
|
|