ontology_version.rb revision 7a522a1916e13f0cdbf191f633a4fc2523444038
# 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