aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorMartin Larochelle <martin.larochelle@shopify.com>2018-05-22 17:20:14 -0400
committerMartin Larochelle <martin.larochelle@shopify.com>2018-06-05 13:25:24 -0400
commit32513c4b356ed8b87b2c9caec6354b4b21cfc692 (patch)
tree3222d572500a931eefc425312bce82cac13f83bc /guides/source/configuring.md
parent7d09874a71ecceb929a99f914b703adc16d80e83 (diff)
downloadrails-32513c4b356ed8b87b2c9caec6354b4b21cfc692.tar.gz
rails-32513c4b356ed8b87b2c9caec6354b4b21cfc692.tar.bz2
rails-32513c4b356ed8b87b2c9caec6354b4b21cfc692.zip
Add global config for config.active_model.i18n_full_message
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r--guides/source/configuring.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 7d5ca4b8a7..49c5b0406f 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: