I use an ingenious stone in my ruby ββon a rails application. When registering a user, if the mail already exists, the default message βEmail has already been doneβ appears.
I changed this post in en.yml
activerecord: errors: messages: taken: "User with same email already exists. Please try with another email address."
In the field of view that I used:
<div class="notice"><%= devise_error_messages! %></div>
Now the message I receive is
"Email User with same email already exists. Please try with another email address."
The problem is that the "Email" is added at the beginning.
Is there any other way to change this default message?
source share