From bcb63fcaa89a17c3f8c65680b4e21134cebaf843 Mon Sep 17 00:00:00 2001 From: Eugene Kenny Date: Sun, 8 Nov 2020 19:38:43 +0000 Subject: [PATCH] Restore deprecation require in dbconsole command This require was removed in 576fb33ba3c1cf0a0c3e83ffac56c46a83d7a57f, after 8513769ad60f68d084e487550162b9d3766aea77 removed the deprecation that originally added it in 29b16d3ff87a3da4ec4ac33a17ad9fd9540284c8. In between however, 0983daa4aa5f6bec96254af907b9956b804faddc added another deprecation to this file, so the require is still necessary. Fixes #40575. --- railties/lib/rails/commands/dbconsole/dbconsole_command.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb index 28827ce65e..3e04f89bed 100644 --- a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb +++ b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require "active_support/core_ext/string/filters" +require "active_support/deprecation" require "rails/command/environment_argument" module Rails