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