Forum: Rails I18n Custom error messages

Posted by Sjoerd Andringa (s-andringa)
on 2009-03-18 16:13
I've been trying to have a translated custom error message for when the
format of a user's email address is invalid.

I'm running rails 2.2.2 and trying to save the translations to the key
activerecord.errors.models.user.attributes.email.invalid doesn't work...
it just uses to default message.

Is this something of a later release?
Posted by Sjoerd Andringa (s-andringa)
on 2009-03-18 16:15
Sjoerd Andringa wrote:
> I've been trying to have a translated custom error message for when the
> format of a user's email address is invalid.
> 
> I'm running rails 2.2.2 and trying to save the translations to the key
> activerecord.errors.models.user.attributes.email.invalid doesn't work...
> it just uses to default message.
> 
> Is this something of a later release?

This seems to be the problem:
http://www.ruby-forum.com/topic/179273
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.