No need to call present? for this config

This commit is contained in:
Rafael Mendonça França 2022-10-05 18:06:38 +00:00
parent 2a9f8aeb24
commit 33e1efd4be
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948

@ -396,7 +396,7 @@ class Railtie < Rails::Railtie # :nodoc:
ActiveRecord::QueryLogs.tags = app.config.active_record.query_log_tags
end
if app.config.active_record.query_log_tags_format.present?
if app.config.active_record.query_log_tags_format
ActiveRecord::QueryLogs.update_formatter(app.config.active_record.query_log_tags_format)
end