diff options
author | HombreLaser <sebastian-440@live.com> | 2023-02-20 19:53:50 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-02-20 19:53:50 -0600 |
commit | 78644d412df7274072e3a3d4ad0873437554781b (patch) | |
tree | d73f29f19790f7dde2023974e47610f8c4f07f7a /config/environments/production.rb | |
parent | 9aa71bb4bfa345da9514bf6bb251985af0b8758e (diff) |
Añade unsafe autocorrects de rubocop
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r-- | config/environments/production.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 4eaf901..db0c605 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'active_support/core_ext/integer/time' Rails.application.configure do @@ -76,7 +78,7 @@ Rails.application.configure do # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new "app-name") if ENV['RAILS_LOG_TO_STDOUT'].present? - logger = ActiveSupport::Logger.new(STDOUT) + logger = ActiveSupport::Logger.new($stdout) logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) end |