From 6d71036d079111ab60aa7ff1059b9b1c0e74bd7a Mon Sep 17 00:00:00 2001 From: Miha Mencin Date: Wed, 9 Oct 2019 10:20:00 +0200 Subject: [PATCH] Remove paperclip attribute accessors --- app/models/asset.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/models/asset.rb b/app/models/asset.rb index a3f0c4b53..2307d2b7a 100644 --- a/app/models/asset.rb +++ b/app/models/asset.rb @@ -8,11 +8,6 @@ class Asset < ApplicationRecord include ActiveStorageFileUtil include ActiveStorageConcerns - attr_accessor :file_file_name - attr_accessor :file_file_size - attr_accessor :file_content_type - attr_accessor :file_updated_at - require 'tempfile' # Lock duration set to 30 minutes LOCK_DURATION = 60 * 30