aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/buffered_logger.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-24 20:02:52 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-11 00:20:19 -0300
commit47b4d13c8d7602fc19229dd8cb70974e401b13b2 (patch)
treed30cfb8970d63e53ecf745f54687395803915507 /activesupport/lib/active_support/buffered_logger.rb
parenta9dccda936cbd3ead6d43997e6c7990f8bd92055 (diff)
downloadrails-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 'activesupport/lib/active_support/buffered_logger.rb')
0 files changed, 0 insertions, 0 deletions