mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
7 lines
152 B
Ruby
7 lines
152 B
Ruby
|
class TempFile < ActiveRecord::Base
|
||
|
validates :session_id, presence: true
|
||
|
|
||
|
has_attached_file :file
|
||
|
do_not_validate_attachment_file_type :file
|
||
|
end
|