1
0

9 Commits

Author SHA1 Message Date
cryptogopher
976271d6b4 Fixed association 2020-05-21 00:23:38 +02:00
cryptogopher
a416e1ce9b Fixed importing Foods with QuantityValue
Fixed double flash when not followed by request
Added Food#destroy error reporting
Simplified prepare_meals with no ingredients
Renamed scope on item with subitems: subitems -> with_subitems
2020-05-20 23:33:34 +02:00
cryptogopher
c402fe8353 Removed ITEM_TYPES in favor of uniformly named scopes/attributes 2020-05-16 17:37:51 +02:00
cryptogopher
fd184df9c7 Merged Nutrient and Readout into QuantityValue
Aliased date attributes of Meal and Measurement
2020-05-11 19:36:30 +02:00
cryptogopher
8d368d6aa5 Fixed updating multiple and deleting Readouts 2019-12-02 23:36:33 +01:00
cryptogopher
fc2db76a3e Updated Measurement to reflect ReadoutValue removal 2019-11-30 01:01:43 +01:00
cryptogopher
0531fe38be Measurements controller fixes 2019-11-29 20:51:01 +01:00
cryptogopher
22aeda720d Measurement/readouts WIP 2019-11-16 18:39:46 +01:00
cryptogopher
687269062c Added measurement, readout and readout_value models
commands:
rails generate redmine_plugin_model body_tracking measurement
name:string hidden:boolean source:references
rails generate redmine_plugin_model body_tracking readout
measurement:references quantity:references unit:references
rails generate redmine_plugin_model body_tracking readout_value
readout:references value:decimal taken_at:timestamp
2019-11-15 21:52:12 +01:00