diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-06-12 07:42:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 07:42:17 +0900 |
commit | 7a35066acf497145c29ca8d3fb7ecc000706acae (patch) | |
tree | b905822b3af6d57b1f1b0c4bb8ada314b963a3ec | |
parent | e2a3df16a1def120f30ace4fb3840de60fb537b4 (diff) | |
parent | f009e553ce3770a7af80508893534879b0bc4e99 (diff) | |
download | rails-7a35066acf497145c29ca8d3fb7ecc000706acae.tar.gz rails-7a35066acf497145c29ca8d3fb7ecc000706acae.tar.bz2 rails-7a35066acf497145c29ca8d3fb7ecc000706acae.zip |
Merge pull request #33121 from bogdanvlviv/add-changelog-for-32956
Add changelog for #32956 [ci skip]
-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 |