you know what, you dont even need the puppetclass table:

```
HostClass.where(:host_id => host_id).pluck('puppetclass_id')