1
0

13 Commits

Author SHA1 Message Date
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
5e3322fe96 Removed quantity uniqueness validation 2020-04-25 01:08:33 +02:00
cryptogopher
8e8160c41a Renamed Ingredient -> Food
Ingredient is now part of composition (meal/recipe/dish)
2020-04-14 19:44:19 +02:00
cryptogopher
f00f93c9e9 View tracking through params in Ingredients
Squeezed ingredient form
2020-04-04 02:13:46 +02:00
cryptogopher
fc2db76a3e Updated Measurement to reflect ReadoutValue removal 2019-11-30 01:01:43 +01:00
cryptogopher
3ebc2f58d0 Finished CSV import
Fixed problem with excessive validation
2019-09-22 20:26:07 +02:00
cryptogopher
6e3cf2f189 Added Ingredient/Nutrient initialization 2019-09-15 19:55:25 +02:00
cryptogopher
893e2646d0 Finished Ingredient#create validations 2019-09-15 18:53:00 +02:00
cryptogopher
0dcb13a065 Started Ingredient#create 2019-09-14 23:00:31 +02:00
cryptogopher
f039917d0e Added nested nutrients in ingredient form 2019-09-13 19:21:28 +02:00
cryptogopher
7062652d0d Added nutrient model
command: rails generate redmine_plugin_model body_tracking nutrient
ingredient:references quantity:references unit:references amount:decimal
2019-09-13 13:54:56 +02:00