I have a whole bunch of child classes that inherit from a parent class via single-table-inheritance in my Rails app. I\'d like a way to get an array of all the child classes tha
Assuming there is at least one of each of object extant in the table:
Object.all.uniq{|x| x.type}.collect(&:type)