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-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2020-08-07 13:45:25 +01:00
2023-09-13 16:45:00 +09:00
2023-07-30 21:29:19 +09:00
2023-08-08 11:36:31 +01:00
2023-09-12 23:19:05 +09:00
2023-10-01 02:09:33 +02:00
2023-08-22 10:22:26 +01:00
2023-08-11 10:14:43 +10:00
2023-08-11 10:14:43 +10:00
2022-11-02 15:33:43 +11:00
2023-09-13 16:45:00 +09:00
2023-09-26 09:50:08 +09: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
2023-08-11 10:14:43 +10:00
2023-09-13 16:45:00 +09:00
2023-04-18 22:58:06 +09:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:47 +10:00
2023-09-13 16:45:00 +09:00
2021-04-15 15:59:03 +10:00
2023-04-18 09:39:39 +10:00
2023-09-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2023-10-06 14:15:07 +02:00
2021-06-17 23:07:26 +01:00
2023-09-13 16:45:00 +09:00
2021-12-10 18:18:20 +00:00
2023-09-13 16:45:00 +09:00
2021-04-15 15:59:03 +10:00
2023-08-11 10:14:43 +10:00
2023-08-11 10:14:47 +10:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:43 +10:00
2023-08-11 10:14:43 +10:00
2023-08-11 10:14:43 +10:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:43 +10:00
2021-04-15 15:59:03 +10:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:43 +10:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:43 +10:00
2023-09-18 12:38:01 +10:00
2023-09-26 09:50:08 +09:00
2023-08-11 10:14:43 +10:00
2023-08-20 12:33:43 +09:00