From 6d31602e770a27340a67f2811e747bf3b8105bc8 Mon Sep 17 00:00:00 2001 From: w3nd0 Date: Mon, 21 Oct 2024 10:36:39 +0300 Subject: [PATCH] fix(develop-pw/seeds) - added a dummy partial _created_country. This seemed to be the cause of the error but I am unsure why it is needed. - I figured it is triggered by the callback on line 8 of the country model. --- .tool-versions | 1 + app/views/countries/_created_country.html.erb | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 app/views/countries/_created_country.html.erb diff --git a/.tool-versions b/.tool-versions index c2ca3d3d..292162b8 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ nodejs 20.9.0 +ruby 3.0.2 diff --git a/app/views/countries/_created_country.html.erb b/app/views/countries/_created_country.html.erb new file mode 100644 index 00000000..df104289 --- /dev/null +++ b/app/views/countries/_created_country.html.erb @@ -0,0 +1,6 @@ +
+

+ Name: + <%= country.name %> +

+
\ No newline at end of file