title: How do I create a class instance from a string name in ruby?
body: <p>I have the name of a class and I want to create an instance of that class so that I can loop through each rails attribute that is present in the schema of that class.</p>
  
  <p>How would I go about doing that?</p>
  
  <ol>
  <li>I have the name as a string of the class I want to check</li>
  <li>I guess I need to instantiate a class instance so that I can</li>
  <li>Loop through it's attributes and print them.</li>
  </ol>