2022-06-05 07:44:52 -07:00
|
|
|
require_relative "boot"
|
2012-01-23 14:05:03 -08:00
|
|
|
|
2022-10-09 19:44:00 +01:00
|
|
|
require "rails"
|
2022-10-10 17:08:30 +01:00
|
|
|
%w[
|
2022-10-09 19:44:00 +01:00
|
|
|
active_record/railtie
|
|
|
|
action_controller/railtie
|
|
|
|
action_view/railtie
|
|
|
|
action_mailer/railtie
|
|
|
|
active_job/railtie
|
2022-10-10 17:08:30 +01:00
|
|
|
].each do |railtie|
|
2022-10-09 19:44:00 +01:00
|
|
|
require railtie
|
|
|
|
end
|
|
|
|
|
2015-09-30 16:16:06 -07:00
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
|
|
# you've limited to :test, :development, or :production.
|
|
|
|
Bundler.require(*Rails.groups)
|
2012-01-23 14:05:03 -08:00
|
|
|
|
|
|
|
module Myapp
|
|
|
|
class Application < Rails::Application
|
2019-08-02 11:31:50 -07:00
|
|
|
# Load the defaults for whichever Rails version we are using, we need to
|
|
|
|
# ensure we work with all defaults.
|
|
|
|
config.load_defaults "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"
|
2012-01-23 14:05:03 -08:00
|
|
|
|
2022-09-08 15:45:24 -07:00
|
|
|
# Configuration for the application, engines, and railties goes here.
|
|
|
|
#
|
|
|
|
# These settings can be overridden in specific environments using the files
|
|
|
|
# in config/environments, which are processed later.
|
|
|
|
#
|
|
|
|
# config.time_zone = "Central Time (US & Canada)"
|
|
|
|
# config.eager_load_paths << Rails.root.join("extras")
|
2016-02-08 13:43:29 -08:00
|
|
|
config.active_job.queue_adapter = :sidekiq
|
2012-01-23 14:05:03 -08:00
|
|
|
end
|
|
|
|
end
|