fix errors in migration scripts

This commit is contained in:
Thomas Peetz
2025-06-28 18:19:14 +02:00
parent 1be2dcbdfc
commit eab74a62f7
12 changed files with 128 additions and 6 deletions
@@ -0,0 +1,4 @@
class PublisherController < ApplicationController
def index
end
end
@@ -0,0 +1,2 @@
module PublisherHelper
end
+1
View File
@@ -1,3 +1,4 @@
class Publisher < ApplicationRecord
has_many :imprints, class_name: "Publisher", foreign_key: "parent_publisher_id"
has_many :comics
end
@@ -0,0 +1,2 @@
<h1>Publisher#index</h1>
<p>Find me in app/views/publisher/index.html.erb</p>