diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-12 01:21:15 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-12 01:39:32 +0300 |
commit | f009e553ce3770a7af80508893534879b0bc4e99 (patch) | |
tree | b905822b3af6d57b1f1b0c4bb8ada314b963a3ec | |
parent | e2a3df16a1def120f30ace4fb3840de60fb537b4 (diff) | |
download | rails-f009e553ce3770a7af80508893534879b0bc4e99.tar.gz rails-f009e553ce3770a7af80508893534879b0bc4e99.tar.bz2 rails-f009e553ce3770a7af80508893534879b0bc4e99.zip |
Add changelog for #32956 [ci skip]
Add mention about default value of `config.active_model.i18n_full_message`.
-rw-r--r-- | activemodel/CHANGELOG.md | 6 | ||||
-rw-r--r-- | guides/source/configuring.md | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index 6b557a7cb1..dcf94a5e21 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,3 +1,9 @@ +* Add `config.active_model.i18n_full_message` in order to control whether + the `full_message` error format can be overridden at the attribute or model + level in the locale files. This is `false` by default. + + *Martin Larochelle* + * Rails 6 requires Ruby 2.4.1 or newer. *Jeremy Daer* diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 50b506bc6e..7136205b75 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -307,7 +307,7 @@ All these configuration options are delegated to the `I18n` library. ### 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. +* `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. This is `false` by default. ### Configuring Active Record |