I am using devise gem in my ruby on rails application. On user signup if an email already exists then there is a default message "Email has already been taken".
I have changed this message in en.yml
activerecord:
errors:
messages:
taken: "User with same email already exists. Please try with another email address."
In view i have used:
<div class="notice"><%= devise_error_messages! %></div>
Now the message i am getting is
"Email User with same email already exists. Please try with another email address."
The problem is that "Email" is appended at the start.
Is there any other way to change this default message?