ontology_version.rb revision ffddc54fc6bb11130abd3281dcd95159c7f3ce7f
# validate :raw_file_size_maximum
# updated_at of the latest version
end
source_uri? ? source_uri : 'File upload'
end
if !(raw_file.blank? ^ source_uri.blank?)
errors.add :source_uri, 'Specify either a source file or URI.'
end
end
errors.add :raw_file, 'The maximum file size is 10M.'
end
end
end