title: How to handle enum values in rails 4
body: <p>So I have a <code>subscription</code> table in my database.</p>
  
  <p>I would like to have a <code>state</code> column which will have any one of the following values</p>
  
  <pre><code>Valid
  Invalid
  Cancelled
  In Trial
  Non Renewing
  Future
  </code></pre>
  
  <p>Can someone explain how to use these values as enum values in rails 4?</p>