class I18n::Railtie
def self.init_fallbacks(fallbacks)
def self.init_fallbacks(fallbacks) include_fallbacks_module args = \ case fallbacks when ActiveSupport::OrderedOptions [*(fallbacks[:defaults] || []) << fallbacks[:map]].compact when Hash, Array Array.wrap(fallbacks) else # TrueClass [I18n.default_locale] end I18n.fallbacks = I18n::Locale::Fallbacks.new(*args) end