1
0

21 Commits

Author SHA1 Message Date
cryptogopher
dfa20a55d1 Displaying quantities in MEals index, WIP 2020-04-27 18:15:40 +02:00
cryptogopher
c029ba59c2 Fixed saving Meal exposures
According to:
https://stackoverflow.com/questions/34328735/imageable-type-is-not-setting-for-polymorphic-associations
and
https://stackoverflow.com/questions/2494452/rails-polymorphic-association-with-multiple-associations-on-the-same-model
2020-04-25 18:07:58 +02:00
cryptogopher
ab8ed92929 Added MealsController#toggle_exposure 2020-04-25 15:52:35 +02:00
cryptogopher
a4781b4fcd Renamed: column -> exposure
Moved toggle_column_options to body_trackers helper
2020-04-25 15:42:22 +02:00
cryptogopher
1007385e1f Added eaten_at to Meal form 2020-04-24 16:53:24 +02:00
cryptogopher
cdd7107567 Rearranged Meals index columns 2020-04-24 15:36:16 +02:00
cryptogopher
5ab17cf69b Added MealsController#destroy 2020-04-24 00:54:32 +02:00
cryptogopher
dfeb9af6db Added Meal edit/update 2020-04-20 22:56:05 +02:00
cryptogopher
6b5cb85b11 Buttons/amount in separate columns 2020-04-20 22:07:10 +02:00
cryptogopher
baaefb2b68 Proper sorting of meals, index 2020-04-20 21:43:12 +02:00
cryptogopher
66cd7926e8 Added adjusting ingredient amount 2020-04-19 21:50:59 +02:00
cryptogopher
03d0a56474 Moved notes form from div to td 2020-04-19 21:34:24 +02:00
cryptogopher
3706206191 Update notes in div 2020-04-19 18:16:07 +02:00
cryptogopher
e659ecc760 Added MealsController#toggle_eaten 2020-04-19 16:03:03 +02:00
cryptogopher
620d86b18a Updated Meals index 2020-04-19 00:02:39 +02:00
cryptogopher
923df9c8b2 Visual changes 2020-04-18 20:36:09 +02:00
cryptogopher
50b89de904 Meals index, WIP 2020-04-18 18:29:53 +02:00
cryptogopher
3ff36df168 IngredientsController#index WIP 2020-04-18 01:22:21 +02:00
cryptogopher
ed6b1b9fe7 Preliminary MealsController#create 2020-04-16 22:02:53 +02:00
cryptogopher
eb939a1be5 Sending Food id from autocomplete on Meal create 2020-04-16 19:09:24 +02:00
cryptogopher
e78803e474 Added MealsController#new and form autocomplete for Food
Renamed QuantityColumn -> Exposure
2020-04-15 23:42:58 +02:00