validates_formatting_of
validates_formatting_of copied to clipboard
Add support I18n for error messages
What do you think?
default i18n scope activerecord
$RAILS_APP/config/locales/en.yml
en:
activerecord:
errors:
messages:
email: "is not a valid email"
simple_email: "is not a valid email"
url: "is not a valid URL"
....
Must be own i18n scope or not? Write rspec for the feature or not?
:+1: Looks good. Can you add a CHANGELOG entry for the next unreleased version and update the documentation in the README to ensure users know they can use localization?
Still would like to see this merged in. I don't see any reason not to leave it as it's own scope. I would like to see at least one spec covering it if you can.