aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-16 17:12:37 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-17 09:06:56 -0200
commit8e21ae37ad9fef6b7393a84f9b5f2e18a831e49a (patch)
treee57a563efdab3bde84e411e4be85ef456b568630 /activesupport
parent6802196a6b7db928f9dc70fe5a4f3b61a3ea33ce (diff)
downloadrails-8e21ae37ad9fef6b7393a84f9b5f2e18a831e49a.tar.gz
rails-8e21ae37ad9fef6b7393a84f9b5f2e18a831e49a.tar.bz2
rails-8e21ae37ad9fef6b7393a84f9b5f2e18a831e49a.zip
Add changelog and upgrading notice related to I18n enforce_available_locales handling
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/CHANGELOG.md18
1 files changed, 13 insertions, 5 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 6a13db346d..c830ee61e6 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,3 +1,16 @@
+* Default the new `I18n.enforce_available_locales` config to `true`, meaning
+ `I18n` will make sure that all locales passed to it must be declared in the
+ `available_locales` list.
+
+ To disable it add the following configuration to your application:
+
+ config.i18n.enforce_available_locales = false
+
+ This also ensures I18n configuration is properly initialized taking the new
+ option into account, to avoid their deprecations while booting up the app.
+
+ *Carlos Antonio da Silva*, *Yves Senn*
+
* Introduce Module#concerning: a natural, low-ceremony way to separate
responsibilities within a class.
@@ -49,11 +62,6 @@
*Mario Visic*
-* Ensure `config.i18n.enforce_available_locales` is set before any other
- configuration option.
-
- *Yves Senn*
-
* Added `Date#all_week/month/quarter/year` for generating date ranges.
*Dmitriy Meremyanin*