David Rodríguez
c526e72539
Improve enterprise removal (failure case)
...
Make sure failure to delete due to dependent objects is handled through
activemodel errors and not by rescuing
`ActiveRecord::DeleteRestrictionError` exceptions.
Previously we would display two alert prompts, and we would weirdly
display the content of our 500 error page on top of the screen.
Now, we display a flash error message explaining the reason to fail to
remove it.
2025-11-27 19:10:15 +01:00
..
2024-11-21 15:58:55 +11:00
2025-11-24 12:01:44 +11:00
2024-10-07 15:09:58 +11:00
2025-10-27 11:30:33 +01:00
2025-10-27 11:30:33 +01:00
2025-11-21 10:05:44 +00:00
2025-11-03 14:25:05 +11:00
2024-11-28 13:35:01 +01:00
2023-08-11 10:14:47 +10:00
2025-10-31 09:18:11 +01:00
2024-09-11 11:54:38 +05:00
2024-09-24 10:43:55 +10:00
2025-04-28 09:47:55 +02:00
2023-08-11 10:14:47 +10:00
2024-03-26 13:39:16 +00:00
2024-10-24 08:47:11 +11:00
2025-10-31 14:26:33 +01:00
2025-08-08 14:00:38 +10:00
2023-08-11 10:14:47 +10:00
2023-08-11 10:14:47 +10:00
2024-01-29 14:12:28 +11:00
2025-04-01 13:46:34 +11:00
2024-12-19 09:19:01 +11:00
2023-08-11 10:14:47 +10:00
2024-07-03 10:17:49 +10:00
2023-08-11 10:14:47 +10:00
2025-11-27 19:10:15 +01:00
2023-08-11 10:14:43 +10:00
2023-09-12 23:19:05 +09:00
2024-12-19 09:19:01 +11:00
2024-04-22 17:36:47 +02:00
2025-01-10 08:43:58 +11:00
2024-02-22 10:15:07 +11:00
2023-10-16 16:37:47 +11:00
2023-09-04 17:07:07 +10:00
2025-07-09 13:43:12 +10:00
2023-09-12 23:19:05 +09:00
2024-04-09 10:44:02 +02:00
2024-08-16 14:37:57 +10:00
2024-02-27 18:59:50 +01:00
2024-04-09 10:44:02 +02:00
2024-11-19 15:53:58 +11:00
2024-11-21 15:58:55 +11:00
2025-03-26 19:44:08 +01:00
2025-10-31 14:26:33 +01:00
2025-11-03 15:50:12 +11:00
2023-08-22 10:22:26 +01:00
2024-11-21 15:58:56 +11:00
2024-11-28 13:35:01 +01:00
2023-03-07 15:38:50 +11:00