title: Can I get the table, column and type information from a model?
body: <p>I'm using ruby and activerecord to get information about a mysql table.</p>
  
  <p>I was hoping I could get this information directly from my model class, is this possible?</p>
  
  <p>Say I have my model:</p>
  
  <pre><code>class Product &lt; ActiveRecord::Base
  end
  </code></pre>
  
  <p>Is it now possible for me to get information regarding:</p>
  
  <pre><code>1. mysql table
  2. columns
  3. column types
  </code></pre>
  
  <p>Or do I have to look somewhere deeper into the ActiveRecord module to get this?</p>