From 80c14d5ac826617c5a83920f9ebc59f71d9dee9d Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Mon, 9 Dec 2024 10:14:33 -0800 Subject: [PATCH] Add Rails 8.0 to accepted framework versions Previously, a log message stating "Detected untested Rails version 8.*" would be emitted. This is incorrect, as we are now testing the agent against Rails 8.0 --- lib/new_relic/agent/configuration/default_source.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/new_relic/agent/configuration/default_source.rb b/lib/new_relic/agent/configuration/default_source.rb index 4bc5e3eee7..9fdcb20b2f 100644 --- a/lib/new_relic/agent/configuration/default_source.rb +++ b/lib/new_relic/agent/configuration/default_source.rb @@ -139,7 +139,7 @@ def self.framework case Rails::VERSION::MAJOR when 3 :rails3 - when 4..7 + when 4..8 :rails_notifications else ::NewRelic::Agent.logger.warn("Detected untested Rails version #{Rails::VERSION::STRING}")