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.

23 lines
764 B

2 years ago
2 years ago
2 years ago
2 years 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 Basic
  7. # Basic Rails application
  8. class Application < Rails::Application
  9. # Initialize configuration defaults for originally generated Rails version.
  10. config.load_defaults 7.0
  11. # Efficient logging with Semantic Logger
  12. require Rails.root.join('lib', 'formatters', 'basic_formatter')
  13. config.rails_semantic_logger.add_file_appender = false
  14. config.rails_semantic_logger.semantic = false
  15. config.rails_semantic_logger.started = true
  16. config.rails_semantic_logger.processing = true
  17. config.rails_semantic_logger.rendered = true
  18. end
  19. end