mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
6 lines
152 B
Ruby
6 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
|