mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 03:46:39 +08:00
Remove paperclip attribute accessors
This commit is contained in:
parent
6354ab1482
commit
6d71036d07
1 changed files with 0 additions and 5 deletions
|
@ -8,11 +8,6 @@ class Asset < ApplicationRecord
|
||||||
include ActiveStorageFileUtil
|
include ActiveStorageFileUtil
|
||||||
include ActiveStorageConcerns
|
include ActiveStorageConcerns
|
||||||
|
|
||||||
attr_accessor :file_file_name
|
|
||||||
attr_accessor :file_file_size
|
|
||||||
attr_accessor :file_content_type
|
|
||||||
attr_accessor :file_updated_at
|
|
||||||
|
|
||||||
require 'tempfile'
|
require 'tempfile'
|
||||||
# Lock duration set to 30 minutes
|
# Lock duration set to 30 minutes
|
||||||
LOCK_DURATION = 60 * 30
|
LOCK_DURATION = 60 * 30
|
||||||
|
|
Loading…
Add table
Reference in a new issue