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.

43 lines
1.7 KiB

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