initial commit

This commit is contained in:
Stefan Tollkühn
2025-07-21 12:14:42 +02:00
parent a77fc87832
commit 3735122750
156 changed files with 3862 additions and 1 deletions

6
app/models/project.rb Normal file
View File

@@ -0,0 +1,6 @@
class Project < ApplicationRecord
has_many :subprojects, inverse_of: :project
accepts_nested_attributes_for :subprojects, allow_destroy: true, reject_if: :all_blank
validates :name, presence: true
end