Этот коммит содержится в:
Mattia Roccoberton
2023-08-20 21:08:52 +02:00
родитель cd7f259697
Коммит c1c2391cb8
8 изменённых файлов: 200 добавлений и 499 удалений

Просмотреть файл

@@ -0,0 +1,7 @@
ActiveSupport::Reloader.to_prepare do
ActiveStorage::Attachment.class_eval do
def self.ransackable_attributes(auth_object = nil)
%w[blob_id created_at id name record_id record_type]
end
end
end