From 8846cebd16f7022fdb1764053f334fa8c496ec12 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Tue, 11 Jan 2022 16:29:50 +0100 Subject: [PATCH] Avoid version in Rack::Logger code comment (#327) This version mention could make it seem like it was no longer the case, but it is still the case, so by removing the version marker, this is less confusing. The #before_dispatch code comment is still version-relevant, it seems. --- lib/lograge/rails_ext/rack/logger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lograge/rails_ext/rack/logger.rb b/lib/lograge/rails_ext/rack/logger.rb index f0cf3ab7..434ba677 100644 --- a/lib/lograge/rails_ext/rack/logger.rb +++ b/lib/lograge/rails_ext/rack/logger.rb @@ -11,7 +11,7 @@ module Rack # that say: # Started GET / for 192.168.2.1... class Logger - # Overwrites Rails 3.2 code that logs new requests + # Overwrites Rails code that logs new requests def call_app(*args) env = args.last @app.call(env)