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.

40 lines
1.7 KiB

11 months ago
10 months ago
11 months ago
4 months ago
11 months ago
10 months ago
11 months ago
5 months ago
11 months ago
  1. require_relative 'boot'
  2. require 'rails/all'
  3. # Require the gems listed in Gemfile, including any gems
  4. # you've limited to :test, :development, or :production.
  5. Bundler.require(*Rails.groups)
  6. # Module name provides the main application title, ie: config.application_title defined below
  7. module EasyGoingRails
  8. # Main Application
  9. class Application < Rails::Application
  10. # Initialize configuration defaults for originally generated Rails version.
  11. config.load_defaults 7.1
  12. # Please, add to the `ignore` list any other `lib` subdirectories that do
  13. # not contain `.rb` files, or that should not be reloaded or eager loaded.
  14. # Common ones are `templates`, `generators`, or `middleware`, for example.
  15. # config.autoload_lib(ignore: %w[assets tasks formatters hot_constants monkey_patches])
  16. # config.autoload_lib(ignore: %w[assets tasks formatters monkey_patches])
  17. config.autoload_lib(ignore: %w[assets tasks])
  18. # main application title defined from current module name, see module above
  19. config.application_title = module_parent.to_s.titleize
  20. # Configuration for the application, engines, and railties goes here.
  21. #
  22. # These settings can be overridden in specific environments using the files
  23. # in config/environments, which are processed later.
  24. #
  25. # config.time_zone = "Central Time (US & Canada)"
  26. # config.eager_load_paths << Rails.root.join("extras")
  27. # Customized Semantic Logger
  28. config.rails_semantic_logger.semantic = false
  29. config.rails_semantic_logger.started = true
  30. config.rails_semantic_logger.processing = true
  31. config.rails_semantic_logger.rendered = true
  32. config.rails_semantic_logger.add_file_appender = false
  33. end
  34. end