Sha256: 70da06d864c6869fb2f3e8cc44ba3240b3796f766f0eca67bdc376e92f685e37

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

require File.expand_path('../boot', __FILE__)

require 'rails/all'

Bundler.require(*Rails.groups)
require "vulgata"
require "globalize"
require 'globalize-accessors'

module Dummy
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
    # config.time_zone = 'Central Time (US & Canada)'

    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
    # config.i18n.default_locale = :de

    # Do not swallow errors in after_commit/after_rollback callbacks.
    config.active_record.raise_in_transactional_callbacks = true
    config.i18n.fallbacks = true

    Globalize.fallbacks = { en: [:en, :de, :he, :'zh-CN'] }

    config.i18n.available_locales = [:en, :'zh-CN', :he, :de]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vulgata-0.3.7 test/dummy/config/application.rb
vulgata-0.3.6 test/dummy/config/application.rb
vulgata-0.3.5 test/dummy/config/application.rb
vulgata-0.3.4 test/dummy/config/application.rb
vulgata-0.3.3 test/dummy/config/application.rb
vulgata-0.3.1 test/dummy/config/application.rb