Files
openfoodnetwork/app/models/spree
cyrillefr 4bb996e77f Fix RedundantPresenceValidationOnBelongs on some files (part VI)
- presence: true is redundant since Rails 5.0 BUT applies
   with new default config of
   belongs_to_required_by_default to true.
   Lots of files with belongs_to_required_by_default = false
   (backward compatibility).
   So: deleting this setting implies to adding optional: true
 - added 'NOT NULL' constraints so model constraints match
   with contraints on DB tables.
 - corresponding migration files to match AR Models &
   DB tables
 - rake tasks to check corrupt data (ie: NULL/nil in id fields)
   (previous commit)
 - updated the todo
2024-05-29 10:38:18 +02:00
..
2024-05-13 12:55:55 +01:00
2023-07-31 17:21:49 +01:00
2023-09-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2024-04-09 10:44:02 +02:00
2021-12-10 18:18:20 +00:00
2024-04-09 10:44:02 +02:00
2023-09-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2024-04-02 09:27:36 +11:00
2024-02-22 10:15:07 +11:00
2023-08-20 12:33:43 +09:00