mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
8 lines
196 B
Ruby
8 lines
196 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Set statuses for projects (new, pending, done...)
|
|
class Status < ApplicationRecord
|
|
validates :name, presence: true
|
|
has_many :projects, dependent: :nullify
|
|
end
|