main
 1require File.expand_path('../boot', __FILE__)
 2
 3# Pick the frameworks you want:
 4require "active_model/railtie"
 5require "active_job/railtie"
 6require "active_record/railtie"
 7require "action_controller/railtie"
 8require "action_mailer/railtie"
 9require "action_view/railtie"
10require "sprockets/railtie"
11# require "rails/test_unit/railtie"
12
13# Require the gems listed in Gemfile, including any gems
14# you've limited to :test, :development, or :production.
15Bundler.require(*Rails.groups)
16
17module Malwer
18  class Application < Rails::Application
19    # Settings in config/environments/* take precedence over those specified here.
20    # Application configuration should go into files in config/initializers
21    # -- all .rb files in that directory are automatically loaded.
22
23    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
24    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
25    # config.time_zone = 'Central Time (US & Canada)'
26
27    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
28    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
29    # config.i18n.default_locale = :de
30
31    # Do not swallow errors in after_commit/after_rollback callbacks.
32    config.active_record.raise_in_transactional_callbacks = true
33    config.lograge.enabled = true
34  end
35end