mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-10 21:24:20 +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
|