Skip to content

Commit

Permalink
Merge pull request #53475 from p8/activerecord/show-all-attributes-in…
Browse files Browse the repository at this point in the history
…-console

Always show all attributes in the console
  • Loading branch information
rafaelfranca committed Oct 29, 2024
1 parent 91aac4a commit e6a8acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6a8acd

Please sign in to comment.