title: How can I get model names from inside my app?
body: <p>I have a bunch of models in a sub-directory that inherit from a model in the models root directory.  I want to be able to set a class variable in another model that lists each inherited model class.</p>
  
  <p>i.e</p>
  
  <pre><code>@@groups = sub_models.map do { |model| model.class.to_s }
  </code></pre>
  
  <p>Not sure how to get at this info though...</p>