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

9 months ago
8 months ago
9 months ago
3 months ago
9 months ago
8 months ago
9 months ago
3 months ago
9 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. # main application title defined from current module name, see module above
  17. config.application_title = module_parent.to_s.titleize
  18. # Configuration for the application, engines, and railties goes here.
  19. #
  20. # These settings can be overridden in specific environments using the files
  21. # in config/environments, which are processed later.
  22. #
  23. # config.time_zone = "Central Time (US & Canada)"
  24. # config.eager_load_paths << Rails.root.join("extras")
  25. # Customized Semantic Logger
  26. config.rails_semantic_logger.semantic = false
  27. config.rails_semantic_logger.started = true
  28. config.rails_semantic_logger.processing = true
  29. config.rails_semantic_logger.rendered = true
  30. config.rails_semantic_logger.add_file_appender = false
  31. end
  32. end