Implement Measurements#new

This commit is contained in:
2025-02-14 17:48:34 +01:00
parent 2f3c0e40a6
commit c48bf290fd
14 changed files with 175 additions and 26 deletions

View File

@@ -11,6 +11,8 @@ class User < ApplicationRecord
disabled: 0, # administratively disallowed to sign in
}, default: :active
has_many :readouts, dependent: :destroy
accepts_nested_attributes_for :readouts
has_many :quantities, dependent: :destroy
has_many :units, dependent: :destroy