summaryrefslogtreecommitdiff
path: root/app/models/bed.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/bed.rb')
-rw-r--r--app/models/bed.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/bed.rb b/app/models/bed.rb
deleted file mode 100644
index d41afe6..0000000
--- a/app/models/bed.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class Bed < ApplicationRecord
- has_many :rafts, -> { order(:location) }, dependent: :destroy
- accepts_nested_attributes_for :rafts
- validates :location, presence: true, uniqueness: true
-end
Copyright 2019--2025 Marius PETER