fix rubocop

This commit is contained in:
Pete Matsyburka committed 2026-10-30 11:03:27 +02:00
1 parent f9c12b9d78
commit 9bfa6f7f4a
25 files changed
+27 -52

No files matched your search

+1 -2
View File
@@ -22,7 +22,7 @@ ActiveSupport.on_load(:active_storage_attachment) do
end
end
# rubocop:disable Metrics/BlockLength
# rubocop:disable-next Metrics/BlockLength
ActiveSupport.on_load(:active_storage_blob) do
attribute :uuid, :string, default: -> { SecureRandom.uuid }
attribute :io_data, :string, default: ''
@@ -59,7 +59,6 @@ ActiveSupport.on_load(:active_storage_blob) do
service.delete(key)
end
end
# rubocop:enable Metrics/BlockLength
ActiveStorage::LogSubscriber.detach_from(:active_storage) if Rails.env.production?