mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +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
|