Skip to content

Instantly share code, notes, and snippets.

@retr0h retr0h/gist:148229
Created Jul 16, 2009

Embed
What would you like to do?
### Add the following to: config/locales/en.yml.
### Override errors on a single model (Email::Generic).
en:
errors:
models:
email/generic:
captcha: "Overridden Captcha error message."
### Override errors on multiple models (Email::Generic, Email::Abuse, Email::Comment).
default: &default
captcha: "Overridden Captcha error message."
en:
errors:
models:
email/generic:
<<: *default
email/abuse:
<<: *default
email/comment:
<<: *default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.