lib/orats/templates/base/config/application.rb in orats-5.0.3 vs lib/orats/templates/base/config/application.rb in orats-5.1.1

- old
+ new

@@ -6,10 +6,13 @@ # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module OratsBase class Application < Rails::Application + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 5.1 + # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. # Set up logging to be the same in all environments but control the level # through an environment variable. @@ -18,10 +21,10 @@ # Log to STDOUT because Docker expects all processes to log here. You could # then redirect logs to a third party service on your own such as systemd, # or a third party host such as Loggly, etc.. logger = ActiveSupport::Logger.new(STDOUT) logger.formatter = config.log_formatter - config.log_tags = [:subdomain, :uuid] + config.log_tags = %i[subdomain uuid] config.logger = ActiveSupport::TaggedLogging.new(logger) # Action mailer settings. config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = {