title: Best way to store Enum value in ActiveRecord and convert to string for display
body: <p>I am trying to figure out what is the best way to store an enum value in activerecord but convert it to a 'title' for display in an app.</p>
  
  <p>I.E.</p>
  
  <p>Review Enum:</p>
  
  <pre><code>UNREVIEWED = {:title =&gt; "Unreviewed", :name =&gt; "UNREVIEWED"}
  REVIEWED = {:title =&gt; "Reviewed", :name =&gt; "REVIEWED"}
  FLAGGED = {:title =&gt; "Flagged as inappropriate", :name =&gt; "FLAGGED"} 
  </code></pre>
  
  <p>So in java land I was used to storing the ENUMs name ie (REVIEWED) in the database and then converting that name into that actual enum on the server such that I could call helper methods on it, ie:</p>
  
  <pre><code>review = Review.valueOf(review)
  review.title()
  </code></pre>
  
  <p>Is there something similar I can do in rails to accomplish this?</p>
  
  <p>FYI we are trying to keep our app super small so if I can easily accomplish this or something similar without a GEM that would be great.</p>
  
  <p>Any 'standard' way to do this, as I imagine I am not the first to struggle with this issue?</p>
  
  <p>Thanks!</p>