where takes the parameter you use to match a course to a data-point, and you pass update the key and value you'd like to set. Seems like a good way to pick up contributing again.
We'll need to figure out in the future, though, how to deal with adding/updating data. Maybe a diff CLI tool?
I'll put together a script to add the FYS, lab, writing, and credit information from classes.json to the production DB.
Modifying elements on production is pretty straightforward from Rails console:
Course.where(crn: "ANCH042")[0].update(name: "Democratic Athens (W)")
where takes the parameter you use to match a course to a data-point, and you pass update the key and value you'd like to set. Seems like a good way to pick up contributing again.
We'll need to figure out in the future, though, how to deal with adding/updating data. Maybe a diff CLI tool?