app/models/hujimineko.rb
@@ -1,6 +1,7 @@ class Hujimineko < ApplicationRecord belongs_to :user has_many :documents + has_many_attached :images exnum urgency: { none: 0, ordinary: 1, problem: 2, serious: 3, emergency: 4 }, _prefix: true