In a certain class, the ratio of passing grades to failing grades is 8: 4. How many of the 36 students passed the course?

The total ratio is 8 passing + 4 failing = <<8+4=12>>12

The fraction of students who passed is 8/12 = 2/3
The number of students who passed is 2/3 * 36 students = <<2/3*36=24>>24 students. Answer: \boxed{24}.