diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-24 20:02:52 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-08-11 00:20:19 -0300 |
commit | 47b4d13c8d7602fc19229dd8cb70974e401b13b2 (patch) | |
tree | d30cfb8970d63e53ecf745f54687395803915507 /guides/source/4_0_release_notes.textile | |
parent | a9dccda936cbd3ead6d43997e6c7990f8bd92055 (diff) | |
download | rails-47b4d13c8d7602fc19229dd8cb70974e401b13b2.tar.gz rails-47b4d13c8d7602fc19229dd8cb70974e401b13b2.tar.bz2 rails-47b4d13c8d7602fc19229dd8cb70974e401b13b2.zip |
Ensure I18n format values always have precedence over defaults
Always merge I18n format values, namespaced or not, over the default
ones, to ensure I18n format defaults will have precedence over our
namespaced values.
Precedence should happen like this:
default :format
default :namespace :format
i18n :format
i18n :namespace :format
Because we cannot allow our namespaced default to override a I18n
:format config - ie precision in I18n :format should always have higher
precedence than our default precision for a particular :namespace.
Also simplify default format options logic.
Diffstat (limited to 'guides/source/4_0_release_notes.textile')
0 files changed, 0 insertions, 0 deletions