2022-06-05 10:44:52 -04:00
|
|
|
require_relative "boot"
|
2012-01-23 17:05:03 -05:00
|
|
|
|
2022-10-09 14:44:00 -04:00
|
|
|
require "rails"
|
2022-10-10 12:08:30 -04:00
|
|
|
%w[
|
2022-10-09 14:44:00 -04:00
|
|
|
active_record/railtie
|
|
|
|
action_controller/railtie
|
|
|
|
action_view/railtie
|
|
|
|
action_mailer/railtie
|
|
|
|
active_job/railtie
|
2022-10-10 12:08:30 -04:00
|
|
|
].each do |railtie|
|
2022-10-09 14:44:00 -04:00
|
|
|
require railtie
|
|
|
|
end
|
|
|
|
|
2015-09-30 19:16:06 -04: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 17:05:03 -05:00
|
|
|
|
|
|
|
module Myapp
|
|
|
|
class Application < Rails::Application
|
2019-08-02 14:31:50 -04: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 17:05:03 -05:00
|
|
|
|
2022-09-08 18:45:24 -04: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 16:43:29 -05:00
|
|
|
config.active_job.queue_adapter = :sidekiq
|
2012-01-23 17:05:03 -05:00
|
|
|
end
|
|
|
|
end
|