bety
bety copied to clipboard
Catalogue of needed Rails validations
ONGOING
It is anticipated that some of the database constraints will make errors more likely when inserting or updating data via the Rails interface. This is a list of validations that should be added so that the user is provided with helpful error messages when attempting an insertion or update the is or will be prevented by database constraints.
citations
- [ ] validate page numbers
- [ ] validate url, pdf
- [ ] validate doi ... maybe automatically strip "doi:" prefixes
machines
- [ ] ensure non-overlapping ranges