diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-12-12 08:28:30 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-12-17 09:05:41 -0200 |
commit | c445c6d1b99c987b7f98943db46f705a3acc400f (patch) | |
tree | 0c8781fa9336ba1f06c39696197e83f852c357ae /guides/CHANGELOG.md | |
parent | aaa5463cc0d81e400ddfb4fdacc0caee319fd587 (diff) | |
download | rails-c445c6d1b99c987b7f98943db46f705a3acc400f.tar.gz rails-c445c6d1b99c987b7f98943db46f705a3acc400f.tar.bz2 rails-c445c6d1b99c987b7f98943db46f705a3acc400f.zip |
Default I18n.enforce_available_locales to true
We will default this option to true from now on to ensure users properly
handle their list of available locales whenever necessary. This option
was added as a security measure and thus Rails will follow it defaulting
to secure option.
Also improve the handling of I18n config options in its railtie, taking
the new enforce_available_locales option into account, by setting it as
the last one in the process. This ensures no other configuration will
trigger a deprecation warning due to that setting.
Diffstat (limited to 'guides/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions