fix: Security: CVE-2020-8264 (#1328) (#1329)

* fix: Security: CVE-2020-8264 (#1328)

* fix: Upgraded rails version to 6.0.3.4 for Security: CVE-2020-8264
* Fixed a rubocop linter issue with string inetrpolation also.
This commit is contained in:
Sony Mathew
2020-10-09 11:33:51 +05:30
committed by GitHub
parent ecebe163e1
commit b1a8430258
2 changed files with 53 additions and 53 deletions

View File

@@ -102,7 +102,7 @@ Rails.application.configure do
# Use a different logger for distributed setups.
# require 'syslog/logger'
config.logger = ActiveSupport::Logger.new(Rails.root.join('log', Rails.env + '.log'), 1, ENV.fetch('LOG_SIZE', '1024').to_i.megabytes)
config.logger = ActiveSupport::Logger.new(Rails.root.join('log', "#{Rails.env}.log"), 1, ENV.fetch('LOG_SIZE', '1024').to_i.megabytes)
# Bullet configuration to fix the N+1 queries
config.after_initialize do