mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +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
|