mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-12 23:09:03 +01:00
8 lines
229 B
Ruby
8 lines
229 B
Ruby
# frozen_string_literal: true
|
|
|
|
# MachineCategory used to categorize Machines.
|
|
class MachineCategory < ApplicationRecord
|
|
has_many :machines, dependent: :nullify
|
|
accepts_nested_attributes_for :machines, allow_destroy: true
|
|
end
|