Sha256: bef9f0b679a719e4754c39c413fbca243df8f9ecc005eefe3c7391b06f457534

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

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

# Pick the frameworks you want:
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"

Bundler.require(*Rails.groups)
require "dorsale"

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 = 'Paris'

    # 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 = :fr

    config.action_controller.permit_all_parameters = true

    config.active_job.queue_adapter = :delayed_job
    Delayed::Worker.delay_jobs = false

    config.action_mailer.delivery_method = :sendmail
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dorsale-3.1.1 spec/dummy/config/application.rb
dorsale-3.1.0 spec/dummy/config/application.rb
dorsale-3.0.3 spec/dummy/config/application.rb
dorsale-3.0.2 spec/dummy/config/application.rb
dorsale-3.0.1 spec/dummy/config/application.rb
dorsale-3.0.0 spec/dummy/config/application.rb