Files
openfoodnetwork/app/models
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-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-26 10:56:44 +10:00
2012-03-27 10:10:26 +11:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-06-23 09:08:04 +09:00
2023-09-13 16:45:00 +09:00