Create a gist now

Instantly share code, notes, and snippets.

### 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