oasis4hedev / salsa

Web app for creating a syllabus in an accessible HTML document, publishing to the Canvas LMS, and more.
https://syllabustool.com
Other
6 stars 5 forks source link

investigate and fix empty strings for setting #588

Open opsaaaaa opened 4 years ago

opsaaaaa commented 4 years ago

find any setting that can be saved as empty strings write a concern use_nil_for_blank on before_save replace the problematic settings that are blank with nil. write a rake task to find all settings that are empty strings and replace them with strings.

we may decide to refactor the settings into a new model or a new column. if so this should be handled at the same time.