Remove paperclip attribute accessors

This commit is contained in:
Miha Mencin 2019-10-09 10:20:00 +02:00 committed by GitHub
parent 6354ab1482
commit 6d71036d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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