1
I have this code:
flash[:error] = t("errors.messages.restrict_dependent_destroy.many")
and the system shows the following error message:
Unable to delete the record as it exists %{record} dependent
I want you to show it like this:
Unable to delete the record as it exists categories dependent
How should I do?
You tried to edit the file
locales/*.yml
?– user7261
Man, I could, but I need to use the same key for other models like equipment and etc.
– Jhonnatas Alencar