diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-06-11 10:10:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 10:10:23 -0400 |
commit | d3f659e5266a0154e252a05e63e806d4fac4c8e6 (patch) | |
tree | 71314ae0fd94d22911582c0b7e0fd9774ea03a5e /guides/source | |
parent | 4eb1481c7f66a5c378b218676ece43b8ae13e553 (diff) | |
parent | 32513c4b356ed8b87b2c9caec6354b4b21cfc692 (diff) | |
download | rails-d3f659e5266a0154e252a05e63e806d4fac4c8e6.tar.gz rails-d3f659e5266a0154e252a05e63e806d4fac4c8e6.tar.bz2 rails-d3f659e5266a0154e252a05e63e806d4fac4c8e6.zip |
Merge pull request #32956 from Shopify/i18n_activemodel_errors_full_message
Allow to override the full_message error format
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 14cdebd62c..4c2dea6721 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -305,6 +305,10 @@ All these configuration options are delegated to the `I18n` library. config.i18n.fallbacks.map = { az: :tr, da: [:de, :en] } ``` +### Configuring Active Model + +* `config.active_model.i18n_full_message` is a boolean value which controls whether the `full_message` error format can be overridden at the attribute or model level in the locale files + ### Configuring Active Record `config.active_record` includes a variety of configuration options: |