foodsoft/app
Philipp Rothmann 33034e66b8 fix: add null checks for articles convert_units
Prevents division by zero exception because of a unit beeing 0.
A Unit becomes also zero e.g. when a comma symbol is used Unit.new("0,9kg") == 0

fixes #1014
2023-06-22 22:49:22 +02:00
..
assets introduce importmaps (#983) 2023-06-14 13:29:31 +02:00
controllers feat: Disable member list via configuration (#990) 2023-06-10 10:32:16 +02:00
documents chore: rubocop 2023-06-09 17:35:05 +02:00
helpers Make date configurable via locales (#997) 2023-06-10 10:31:22 +02:00
inputs chore: rubocop 2023-06-09 17:35:05 +02:00
javascript introduce importmaps (#983) 2023-06-14 13:29:31 +02:00
jobs Use ActiveJob instead of Resque directly 2021-03-08 12:30:58 +01:00
lib Fill availability column at article export 2023-06-10 10:47:47 +02:00
mail_receivers Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
mailers chore: rubocop 2023-06-09 17:35:05 +02:00
models fix: add null checks for articles convert_units 2023-06-22 22:49:22 +02:00
serializers Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
views introduce importmaps (#983) 2023-06-14 13:29:31 +02:00