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

@@ -1,4 +1,6 @@
class Readout < ApplicationRecord
ATTRIBUTES = [:quantity_id, :value, :unit_id]
belongs_to :user
belongs_to :quantity
belongs_to :unit