Skip to content

Commit

Permalink
fix(develop-pw/seeds)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
W3NDO committed Oct 21, 2024
1 parent b205f50 commit 6d31602
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
nodejs 20.9.0
ruby 3.0.2
6 changes: 6 additions & 0 deletions app/views/countries/_created_country.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div id="<%= dom_id country %>">
<p>
<strong>Name:</strong>
<%= country.name %>
</p>
</div>

0 comments on commit 6d31602

Please sign in to comment.