Sha256: 626fe58e296ce4ba7281604efcff44686d9407d96f7386b402c14341ae3c4d8c

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

# frozen_string_literal: true

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

require 'rails/all'

Bundler.require(*Rails.groups)
require 'buoys'

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
    config.i18n.default_locale = :en

    # Do not swallow errors in after_commit/after_rollback callbacks.
    if Gem::Version.new(Rails.version) >= Gem::Version.new('4.2.0') &&
       Gem::Version.new(Rails.version) <= Gem::Version.new('5.0.0')
      config.active_record.raise_in_transactional_callbacks = true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
buoys-2.0.1 test/dummy/config/application.rb
buoys-2.0.0 test/dummy/config/application.rb
buoys-1.1.0 test/dummy/config/application.rb
buoys-1.0.0 test/dummy/config/application.rb