# TODO - REFACTOR - BAD
maybe even
```ruby
ids = ConfigGroupClass.where(:config_group => config_groups).pluck(:puppetclass_id)
```