mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 15:36:22 +08:00
Merge pull request #2142 from biosistemika/remove-virtual-attributes-on-assets
Remove paperclip attribute accessors
This commit is contained in:
commit
b2215ffa76
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue