From e6a8acd749f0824cbd180014482f3d2dd4bf976c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 29 Oct 2024 18:53:05 -0400 Subject: [PATCH] Merge pull request #53475 from p8/activerecord/show-all-attributes-in-console Always show all attributes in the console --- activerecord/lib/active_record/railtie.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index 5dae1d95bb6f2..530dd1bcccf96 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -69,7 +69,7 @@ class Railtie < Rails::Railtie # :nodoc: Rails.logger.broadcast_to(console) end ActiveRecord.verbose_query_logs = false - ActiveRecord::Base.attributes_for_inspect = :all if Rails.env.production? + ActiveRecord::Base.attributes_for_inspect = :all end runner do