Funny enough, by far the worst class I took was a networking class. I thought I'd be surrounded by smart people. Turns out, I was only surrounded by assholes, with a teacher willing to let anything and everything slide.
The best class? Geometry. The teacher was more than willing to deliver an attitude adjustment when she had to, and she did, without even being mean about it. As a result, it's one of the few places I was ever comfortable interacting with people I didn't really know.
Healthy attitudes can be taught, but people have to be willing to step up and do it. It's not just on teachers—it's something anyone who has the potential to influence others' lives should be working on.