Made departments_taught a field for the professor model