Files
openfoodnetwork/spec/requests
Gaetan Craig-Riou f225cd78df Handle unique voucher code exception
Rails validation doesn't handle unique validation for soft deleted
object. So we rescue the exception raise by the database and display
a nice error message. We don't want an enterprise to be able to reuse
a code in case the voucher get reactivated.
2023-09-07 15:13:47 +02:00
..
2023-07-24 09:14:13 +09:00
2023-07-19 08:39:26 +09:00
2023-08-10 14:52:04 +10:00