Files
openfoodnetwork/spec/models/spree
David Cook 3ec6386e1c Validate length of some product fields
We know if the values are too long, so let's provide a useful message rather than generating an unhandled database error.
This code seems rather repetetive, it would be good to use a shared module. I wonder if there's a gem for that.

Note that the existing /products/*/edit screen doesn't even handle validation errors yet, but that's something for another day..
2023-10-06 14:15:07 +02:00
..
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-09-24 22:41:27 +09:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2020-08-07 14:03:15 +01:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-06-26 13:06:56 +09:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-09-22 09:08:50 +09:00
2023-08-31 16:41:41 +10:00
2023-09-24 22:41:27 +09:00
2023-09-24 22:41:27 +09:00
2023-09-24 22:41:27 +09:00
2020-08-06 01:41:28 +01:00
2023-09-24 22:41:27 +09:00
2020-09-05 16:38:36 +01:00
2023-09-24 22:41:27 +09:00
2023-08-08 11:36:31 +01:00
2020-09-05 16:43:27 +01:00
2023-09-24 22:41:27 +09:00
2023-09-24 22:41:27 +09:00
2023-09-24 22:41:27 +09:00