You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.6 KiB
38 lines
1.6 KiB
require_relative 'boot'
|
|
require 'rails/all'
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
# you've limited to :test, :development, or :production.
|
|
Bundler.require(*Rails.groups)
|
|
|
|
# Module name provides the main application title, ie: config.application_title defined below
|
|
module EasyGoingRails
|
|
# Main Application
|
|
class Application < Rails::Application
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 7.1
|
|
|
|
# Please, add to the `ignore` list any other `lib` subdirectories that do
|
|
# not contain `.rb` files, or that should not be reloaded or eager loaded.
|
|
# Common ones are `templates`, `generators`, or `middleware`, for example.
|
|
config.autoload_lib(ignore: %w[assets tasks formatters hot_constants monkey_patches])
|
|
|
|
# main application title defined from current module name, see module above
|
|
config.application_title = module_parent.to_s.titleize
|
|
|
|
# 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")
|
|
|
|
# Customized Semantic Logger
|
|
config.rails_semantic_logger.semantic = false
|
|
config.rails_semantic_logger.started = true
|
|
config.rails_semantic_logger.processing = true
|
|
config.rails_semantic_logger.rendered = true
|
|
config.rails_semantic_logger.add_file_appender = false
|
|
end
|
|
end
|